From 1b9869d814e35c89fdbe904a55d9d0dd512ac333 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Mon, 29 Oct 2018 00:54:57 +0000 Subject: [PATCH] tests: Add 'store_samples' decorator to 'test_event' Signed-off-by: Stephen Finucane --- patchwork/tests/api/test_event.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/patchwork/tests/api/test_event.py b/patchwork/tests/api/test_event.py index 0a36dbd3..fd32bc8c 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() -- 2.47.3