Skip to content

Commit ebb5324

Browse files
Shuotian Chenglguohan
Shuotian Cheng
authored andcommitted
[test]: Fix minor assertion issue in test_mirror.py (sonic-net#543)
Signed-off-by: Shu0T1an ChenG <[email protected]>
1 parent 0faf02b commit ebb5324

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/test_mirror.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,9 @@ def test_AclMirrorTableCreation(self, dvs):
7373
assert len(fvs) == 1
7474
for fv in fvs:
7575
if fv[0] == "status":
76-
fv[1] == "inactive"
76+
assert fv[1] == "inactive"
77+
else:
78+
assert False
7779

7880
def test_MirrorSessionActivation(self, dvs):
7981
# assign the IP address to Ethernet0

0 commit comments

Comments
 (0)