Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and albertyw committed Aug 16, 2024
1 parent 58c5bf3 commit 2d29329
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions project/tests/test_view_requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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):
Expand All @@ -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):
Expand Down

0 comments on commit 2d29329

Please sign in to comment.