From 2d29329dfa2ffaae7198e6f18a5e69d8327f4f40 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 15 Aug 2024 08:06:44 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- project/tests/test_view_requests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/project/tests/test_view_requests.py b/project/tests/test_view_requests.py index 620a7966..d36e93fd 100644 --- a/project/tests/test_view_requests.py +++ b/project/tests/test_view_requests.py @@ -38,7 +38,7 @@ def test_default(self): 'options_order_by': RequestsView().options_order_by, 'options_order_dir': RequestsView().options_order_dir, }, context)) - self.assertQuerysetEqual(context['options_paths'], RequestsView()._get_paths()) + self.assertQuerySetEqual(context['options_paths'], RequestsView()._get_paths()) self.assertNotIn('path', context) self.assertIn('results', context) @@ -60,7 +60,7 @@ def test_get(self): 'options_order_by': RequestsView().options_order_by, 'options_order_dir': RequestsView().options_order_dir, }, context)) - self.assertQuerysetEqual(context['options_paths'], RequestsView()._get_paths()) + self.assertQuerySetEqual(context['options_paths'], RequestsView()._get_paths()) self.assertIn('results', context) def test_post(self): @@ -74,7 +74,7 @@ def test_post(self): 'overalltime': {'typ': 'TimeSpentOnQueriesFilter', 'value': 100, 'str': 'DB Time >= 100'} }, }, context)) - self.assertQuerysetEqual(context['options_paths'], RequestsView()._get_paths()) + self.assertQuerySetEqual(context['options_paths'], RequestsView()._get_paths()) self.assertIn('results', context) def test_view_without_session_and_auth_middlewares(self):