Skip to content

Commit

Permalink
[test]: Fix minor assertion issue in test_mirror.py (sonic-net#543)
Browse files Browse the repository at this point in the history
Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
  • Loading branch information
Shuotian Cheng authored and lguohan committed Jul 24, 2018
1 parent 0faf02b commit ebb5324
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_mirror.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ def test_AclMirrorTableCreation(self, dvs):
assert len(fvs) == 1
for fv in fvs:
if fv[0] == "status":
fv[1] == "inactive"
assert fv[1] == "inactive"
else:
assert False

def test_MirrorSessionActivation(self, dvs):
# assign the IP address to Ethernet0
Expand Down

0 comments on commit ebb5324

Please sign in to comment.