From eb1855f134c47c295d4f7e7cf79de05ca07eee59 Mon Sep 17 00:00:00 2001 From: Laura Beaufort <31420082+lbeaufort@users.noreply.github.com> Date: Tue, 11 Sep 2018 21:34:08 -0400 Subject: [PATCH] Add locust tests for ADRs and Admin Fines --- locustfile.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/locustfile.py b/locustfile.py index 812fad9211..49e4a69e77 100644 --- a/locustfile.py +++ b/locustfile.py @@ -200,6 +200,20 @@ def get_mur(self, term=None): } self.client.get('legal/docs/murs/7074', name='legal_get_mur', params=params) + @locust.task + def get_adr(self, term=None): + params = { + 'api_key': API_KEY, + } + self.client.get('legal/docs/adrs/668', name='legal_get_adr', params=params) + + @locust.task + def get_admin_fine(self, term=None): + params = { + 'api_key': API_KEY, + } + self.client.get('legal/docs/admin_fines/2274', name='legal_get_admin_fine', params=params) + @locust.task def get_ao(self, term=None): params = {