From 34a759b8044123bbf5d0aa66dedd3b563fe3a014 Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Thu, 14 Nov 2024 16:27:26 +0100 Subject: backend/lint: Implement flake8-simplify suggestions --- tests/api/test_sort.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/api/test_sort.py') 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"] -- cgit v1.2.3-2-gb3c3