We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79f33e1 commit c444d00Copy full SHA for c444d00
eox_core/api/data/aggregated_collector/v1/tests/test_views.py
@@ -11,6 +11,7 @@
11
from eox_core.api.data.aggregated_collector.tasks import generate_report
12
from eox_core.api.data.aggregated_collector.v1.views import AggregatedCollectorView
13
14
+
15
class AggregatedCollectorViewTests(TestCase):
16
def setUp(self):
17
self.client = APIClient()
@@ -42,5 +43,5 @@ def test_aggregated_collector_view(self, mock_task):
42
43
response = self.client.post(self.url, HTTP_AUTHORIZATION=f"Bearer {settings.EOX_CORE_AGGREGATED_COLLECTOR_AUTH_TOKEN}")
44
45
self.assertEqual(response.status_code, status.HTTP_202_ACCEPTED)
-
46
47
mock_task.assert_called_once()
0 commit comments