Update Dynamips for the tests and uncomment the system id test

This commit is contained in:
grossmj committed 2014-02-06 00:52:05 -07:00
1 parent 5560e81f9a
commit 49345aedd1
2 files changed
+6 -7

No files matched your search

Binary file not shown.
+6 -7
View File
@@ -40,13 +40,12 @@ def test_bogus_mac_addr(router_c2691):
router_c2691.mac_addr = "zz:zz:zz:zz:zz:zz"
# FIXME: no implemented within Dynamips
# def test_system_id(hypervisor):
# router = C2691(hypervisor, "test system id")
# assert router.system_id == None # default value
# router.system_id = "FTX0945W0MO"
# assert router.system_id == "FTX0945W0MO"
# router.delete()
def test_system_id(hypervisor):
router = C2691(hypervisor, "test system id")
assert router.system_id == None # default value
router.system_id = "FTX0945W0MO"
assert router.system_id == "FTX0945W0MO"
router.delete()
def test_get_hardware_info(router_c2691):