updates to layout core module packages in a more logical way, including renaming methods from objects to nodes and nodes.objid to nodes.id
This commit is contained in:
parent
9517740704
commit
66e603906a
100 changed files with 10283 additions and 3489 deletions
|
@ -4,8 +4,8 @@ import time
|
|||
import pytest
|
||||
|
||||
from core.emulator.emudata import NodeOptions
|
||||
from core.enumerations import NodeTypes
|
||||
from core.misc import utils
|
||||
from core.emulator.enumerations import NodeTypes
|
||||
from core import utils
|
||||
|
||||
MODELS = [
|
||||
"router",
|
||||
|
@ -63,7 +63,7 @@ class TestNodes:
|
|||
|
||||
# then
|
||||
with pytest.raises(KeyError):
|
||||
session.get_object(node.id)
|
||||
session.get_node(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