Update Dynamips for the tests and uncomment the system id test

This commit is contained in:
grossmj 2014-02-06 00:52:05 -07:00
parent 5560e81f9a
commit 49345aedd1
2 changed files with 6 additions and 7 deletions

Binary file not shown.

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