Skip to content

Commit a2a678e

Browse files
Revert "fix sanity tests"
This reverts commit f8a4efa.
1 parent f8a4efa commit a2a678e

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

tests/vnet_input/config_db.json

-3
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,5 @@
1010
},
1111
"VLAN_INTERFACE|Vlan100": {
1212
"vnet_name": "Vnet_2000"
13-
},
14-
"INTERFACE|Ethernet4": {
15-
"vnet_name": "Vnet_2000"
1613
}
1714
}

tests/vxlan_test.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ def test_show_vnet_name(self):
438438
assert result.exit_code == 0
439439
assert "Vnet_2000" in result.output
440440
assert "1234-56-7890-1234" in result.output
441-
assert "Ethernet4" in result.output
441+
# assert "Ethernet4" in result.output
442442
assert "Vlan100" in result.output
443443

444444
def test_show_vnet_guid(self):
@@ -453,12 +453,10 @@ def test_show_vnet_guid(self):
453453
assert "Vnet_2000" in result.output
454454
assert "1234-56-7890-1234" in result.output
455455
assert "tunnel1" in result.output
456-
assert "Ethernet4" in result.output
456+
# assert "Ethernet4" in result.output
457457
assert "Vlan100" in result.output
458458

459459
@classmethod
460460
def teardown_class(cls):
461461
os.environ['UTILITIES_UNIT_TESTING'] = "0"
462462
print("TEARDOWN")
463-
from .mock_tables import dbconnector
464-
dbconnector.dedicated_dbs = {}

0 commit comments

Comments
 (0)