parameterized emane tests, added tdma test, although it is currently failing

This commit is contained in:
Blake J. Harnden 2017-07-27 14:59:40 -07:00
parent 832f497d47
commit 14a5d11c4e
3 changed files with 40 additions and 112 deletions

View file

@ -21,8 +21,8 @@ from core.xml import xmlsession
_XML_VERSIONS = ["0.0", "1.0"]
_NODE_CLASSES = [nodes.PtpNet, nodes.HubNode, nodes.SwitchNode]
class TestCore:
class TestCore:
@pytest.mark.parametrize("cls", _NODE_CLASSES)
def test_nodes(self, core, cls):
"""