Skip to content

Commit c444d00

Browse files
committed
feat: fix aggregated collecor test
1 parent 79f33e1 commit c444d00

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

eox_core/api/data/aggregated_collector/v1/tests/test_views.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
from eox_core.api.data.aggregated_collector.tasks import generate_report
1212
from eox_core.api.data.aggregated_collector.v1.views import AggregatedCollectorView
1313

14+
1415
class AggregatedCollectorViewTests(TestCase):
1516
def setUp(self):
1617
self.client = APIClient()
@@ -42,5 +43,5 @@ def test_aggregated_collector_view(self, mock_task):
4243
response = self.client.post(self.url, HTTP_AUTHORIZATION=f"Bearer {settings.EOX_CORE_AGGREGATED_COLLECTOR_AUTH_TOKEN}")
4344

4445
self.assertEqual(response.status_code, status.HTTP_202_ACCEPTED)
45-
46+
4647
mock_task.assert_called_once()

0 commit comments

Comments
 (0)