initial refactor for all variables named objid
This commit is contained in:
parent
f283c747cc
commit
9517740704
46 changed files with 346 additions and 353 deletions
|
@ -48,7 +48,7 @@ class TestNodes:
|
|||
update_options.set_position(x=position_value, y=position_value)
|
||||
|
||||
# when
|
||||
session.update_node(node.objid, update_options)
|
||||
session.update_node(node.id, update_options)
|
||||
|
||||
# then
|
||||
assert node.position.x == position_value
|
||||
|
@ -59,11 +59,11 @@ class TestNodes:
|
|||
node = session.add_node()
|
||||
|
||||
# when
|
||||
session.delete_node(node.objid)
|
||||
session.delete_node(node.id)
|
||||
|
||||
# then
|
||||
with pytest.raises(KeyError):
|
||||
session.get_object(node.objid)
|
||||
session.get_object(node.id)
|
||||
|
||||
@pytest.mark.parametrize("net_type", NET_TYPES)
|
||||
def test_net(self, session, net_type):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue