Skip to content

Commit

Permalink
Fix vstest
Browse files Browse the repository at this point in the history
Signed-off-by: Ze Gan <ganze718@gmail.com>
  • Loading branch information
Pterosaur committed Jun 9, 2023
1 parent eb6dce9 commit e0f839b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_orchstats.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@


def test_orchstats(dvs: conftest.DockerVirtualSwitch,):
tb=swsscommon.Table(dvs.get_counters_db(), "ORCH_STATS_TABLE")
assert(tb.get("PORT")[0])
stats = dict(dvs.get_counters_db().get_entry("ORCH_STATS_TABLE", "PORT_TABLE"))
assert(stats["SET"] > 0)

0 comments on commit e0f839b

Please sign in to comment.