Skip to content

Commit

Permalink
fix(unittes): change unittest since due to submitter fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
giangbui committed Mar 22, 2018
1 parent 56f9af1 commit 06b8a06
Show file tree
Hide file tree
Showing 3 changed files with 1,093 additions and 1,097 deletions.
4 changes: 0 additions & 4 deletions peregrine/resources/submission/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ def root_graphql_query():
# Short circuit if user is not recognized. Make sure that the list of
# projects that the user has read access to is set.

import pdb; pdb.set_trace()
print("root_graphql_query. Run a graphql query in resource/submission/__init__")
try:
set_read_access_projects()
Expand Down Expand Up @@ -129,13 +128,10 @@ def get_manifest():
description: Filters to be applied when generating the manifest
:return: A manifest that the user can use to download the files in there
"""
import pdb; pdb.set_trace()
payload = peregrine.utils.parse_request_json()
export_data = payload.get('export_data')
bag_path = payload.get('bag_path')

import pdb; pdb.set_trace()

if(bag_path is None):
return flask.jsonify({'bag_path': None, 'errors': 'bag_path is required!!!'}), 400

Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
bdbag==1.2.3
defusedxml==0.5.0
scipy==0.18.1
SurvivalPy==1.0.2
Expand Down
Loading

0 comments on commit 06b8a06

Please sign in to comment.