Skip to content

Commit

Permalink
test: current query is now actually selected
Browse files Browse the repository at this point in the history
  • Loading branch information
jdobes authored and psegedy committed Mar 15, 2024
1 parent 6116b8c commit ff0ab5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/manager_tests/test_admin_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def test_delete_cve_call(self, monkeypatch):
def test_queries(self):
"""Test running queries endpoint"""
res = self.vfetch("database/queries")
assert res.body == {"queries": []}
assert len(res.body.get("queries", [])) == 1

def test_missing_in_inventory_del(self):
"""Test deletion of systems/missing_in_inventory"""
Expand Down

0 comments on commit ff0ab5f

Please sign in to comment.