diff options
author | Stephen Finucane <stephen@that.guru> | 2018-10-29 00:54:57 +0000 |
---|---|---|
committer | Stephen Finucane <stephen@that.guru> | 2018-12-22 17:00:34 +0000 |
commit | 1b9869d814e35c89fdbe904a55d9d0dd512ac333 (patch) | |
tree | 8c1049c3880a77447d3d72ac3f5afe819f4cd7d2 | |
parent | 64d3513fc697871b42c1fa17797a381f68278708 (diff) | |
download | patchwork-1b9869d814e35c89fdbe904a55d9d0dd512ac333.tar patchwork-1b9869d814e35c89fdbe904a55d9d0dd512ac333.tar.gz |
tests: Add 'store_samples' decorator to 'test_event'
Signed-off-by: Stephen Finucane <stephen@that.guru>
-rw-r--r-- | patchwork/tests/api/test_event.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/patchwork/tests/api/test_event.py b/patchwork/tests/api/test_event.py index 0a36dbd..fd32bc8 100644 --- a/patchwork/tests/api/test_event.py +++ b/patchwork/tests/api/test_event.py @@ -9,6 +9,7 @@ from django.conf import settings from django.urls import reverse from patchwork.models import Event +from patchwork.tests.api import utils from patchwork.tests.utils import create_check from patchwork.tests.utils import create_cover from patchwork.tests.utils import create_maintainer @@ -78,6 +79,7 @@ class TestEventAPI(APITestCase): return Event.objects.all() + @utils.store_samples('event-list') def test_list(self): """List events.""" events = self._create_events() |