summaryrefslogtreecommitdiff
path: root/patchwork/tests/api/test_event.py
diff options
context:
space:
mode:
Diffstat (limited to 'patchwork/tests/api/test_event.py')
-rw-r--r--patchwork/tests/api/test_event.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/patchwork/tests/api/test_event.py b/patchwork/tests/api/test_event.py
index 54935d0..32e9936 100644
--- a/patchwork/tests/api/test_event.py
+++ b/patchwork/tests/api/test_event.py
@@ -115,7 +115,11 @@ class TestEventAPI(utils.APITestCase):
# There should only be one
self.assertEqual(1, len(resp.data))
- resp = self.client.get(self.api_url(), {'category': 'foo-bar'})
+ resp = self.client.get(
+ self.api_url(),
+ {'category': 'foo-bar'},
+ validate_request=False,
+ )
self.assertEqual(0, len(resp.data))
def test_list_filter_patch(self):