initial refactor for all variables named objid

This commit is contained in:
bharnden 2019-04-26 22:07:51 -07:00
parent f283c747cc
commit 9517740704
46 changed files with 346 additions and 353 deletions

View file

@ -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):