Skip to content

Commit 7c06fb4

Browse files
authored
Update tests for empty Node name
1 parent c8f58a8 commit 7c06fb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/node/test_node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def tearDown(self):
4848

4949
def test_empty_node_name_error(self):
5050
with pytest.raises(exceptions.TreeError) as exc_info:
51-
node.Node()
51+
node.Node("")
5252
assert str(exc_info.value) == Constants.ERROR_NODE_NAME
5353

5454
def test_set_parent(self):

0 commit comments

Comments
 (0)