summaryrefslogtreecommitdiffstatshomepage
path: root/tests/api
diff options
context:
space:
mode:
authorWolfgang Müller2024-11-14 16:27:26 +0100
committerWolfgang Müller2024-11-14 16:51:56 +0100
commit34a759b8044123bbf5d0aa66dedd3b563fe3a014 (patch)
tree9c956df2a973fb738d36fee1b46e7813c7541440 /tests/api
parent9e4f47b3dbc64d9328f3d7532ecfe0cd9432f21c (diff)
downloadhircine-34a759b8044123bbf5d0aa66dedd3b563fe3a014.tar.gz
backend/lint: Implement flake8-simplify suggestions
Diffstat (limited to 'tests/api')
-rw-r--r--tests/api/test_sort.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/api/test_sort.py b/tests/api/test_sort.py
index 9cafe82..404e3d6 100644
--- a/tests/api/test_sort.py
+++ b/tests/api/test_sort.py
@@ -135,4 +135,4 @@ async def test_query_namespace_sort_sort_name(query_namespace_sort):
response = Response(await query_namespace_sort({"on": "SORT_NAME"}))
response.assert_is("NamespaceFilterResult")
- assert ["two", "one"] == [edge["name"] for edge in response.edges]
+ assert [edge["name"] for edge in response.edges] == ["two", "one"]