Skip to content

Commit

Permalink
Minor tweaks to query params test
Browse files Browse the repository at this point in the history
Co-authored-by: Casper Welzel Anderson <CasperWA@users.noreply.github.com>
  • Loading branch information
ml-evs and CasperWA committed Mar 10, 2020
1 parent c822544 commit f56a42c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tests/server/test_query_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,13 +447,11 @@ def test_awkward_not_queries(self):
request = "/structures"
unexpected_ids = ["mpf_3819", "mpf_2"]
expected_ids = [
struct["id"]
for struct in self.client.get(request).json()["data"]
if struct["id"] not in unexpected_ids
structure["id"]
for structure in self.client.get(request).json()["data"]
if structure["id"] not in unexpected_ids
]

print(expected_ids)

request = (
"/structures?filter="
"NOT ( "
Expand Down

0 comments on commit f56a42c

Please sign in to comment.