Skip to content

Commit

Permalink
tc-query - use dict.items to assert test result
Browse files Browse the repository at this point in the history
  • Loading branch information
kentnsw committed Sep 14, 2022
1 parent 971fed8 commit 6cc574d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/c7n_tencentcloud/tests/test_tc_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,4 +190,4 @@ def test_resources(self, ctx, session, test_case, monkeypatch):
monkeypatch.setattr(QueryResourceManager, "resource_type", test_case[0])
resource_manager = QueryResourceManager(ctx, {})
res = resource_manager.resources()
assert res == test_case[4]
assert res.items() >= test_case[4].items()

0 comments on commit 6cc574d

Please sign in to comment.