Skip to content

Commit

Permalink
Add locust tests for ADRs and Admin Fines
Browse files Browse the repository at this point in the history
  • Loading branch information
lbeaufort committed Sep 12, 2018
1 parent 4ac25f7 commit eb1855f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions locustfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit eb1855f

Please sign in to comment.