Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

Commit

Permalink
Add 'data-sets/' endpoint to fake Stagecraft server
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-gravgaard committed Mar 5, 2014
1 parent a8cf876 commit a34e9a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions features/steps/read_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ def ensure_bucket_exists(context, bucket_name, settings={}):
response.update(settings)

url_response_dict = {
('GET', u'data-sets/'): [response],
('GET', u'data-sets/{}'.format(bucket_name)): response,
('GET', u'data-sets?data-group={}&data-type={}'.format(
response['data_group'], response['data_type'])): [response],
Expand Down

0 comments on commit a34e9a7

Please sign in to comment.