From 0435ca3038ddce643a58b9865df98c8432bbf7af Mon Sep 17 00:00:00 2001 From: dvirh Date: Wed, 26 Jun 2024 16:17:03 +0300 Subject: [PATCH] added missing self argument --- tests/test_query.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_query.py b/tests/test_query.py index b8582a4..2fcc144 100644 --- a/tests/test_query.py +++ b/tests/test_query.py @@ -1357,7 +1357,7 @@ def test_empty_queryset_filter(self): self.assertEqual(mockset.count(), 2) self.assertEqual(mockset.filter(Q()).count(), 2) - def test_mock_model_annotation_by_nested_field(): + def test_mock_model_annotation_by_nested_field(self): mockset = MockSet( MockModel(id=1, nested_mock=MockModel(id=1, field1="field_value")) )