Skip to content

Commit

Permalink
Merge pull request #338 from paramsingh/sec-4
Browse files Browse the repository at this point in the history
Upgrade dependencies
  • Loading branch information
paramsingh authored May 15, 2019
2 parents f9afa40 + 291c3ae commit 0136cfe
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
git+https://github.com/metabrainz/brainzutils-python.git@v1.7.0
git+https://github.com/metabrainz/brainzutils-python.git@v1.9.0
Flask-Admin == 1.5.3
Flask-Login == 0.4.1
Flask-SQLAlchemy == 2.3.2
Expand Down
4 changes: 2 additions & 2 deletions webserver/views/api/v1/test/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ def test_ll_bad_uuid_404(self, load_low_level):
resp = self.client.get("/api/v1/nothing/low-level")
self.assertEqual(404, resp.status_code)
load_low_level.assert_not_called()
expected_result = {"message": "The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again."}

expected_result = {"message": "The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again."}
self.assertEqual(resp.json, expected_result)

@mock.patch("db.data.load_low_level")
Expand Down
2 changes: 1 addition & 1 deletion webserver/views/api/v1/test/test_dataset_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def test_get_job_details_invalid_uuid(self, get_job):
resp = self.client.get('/api/v1/datasets/evaluation/jobs/7804abe5-58be-4c9c-a787-22b91d03xxxx', content_type='application/json')
self.assertEqual(resp.status_code, 404)

expected_result = {"message": "The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again."}
expected_result = {"message": "The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again."}
self.assertEqual(resp.json, expected_result)

@mock.patch('db.dataset_eval.get_job')
Expand Down
2 changes: 1 addition & 1 deletion webserver/views/api/v1/test/test_datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def test_update_dataset_details_bad_uuid(self, dataset_get):
resp = self.client.put(url, data=json.dumps(submit), content_type="application/json")

self.assertEqual(resp.status_code, 404)
expected_result = {"message": "The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again."}
expected_result = {"message": "The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again."}
self.assertEqual(resp.json, expected_result)

@mock.patch("db.dataset.get")
Expand Down

0 comments on commit 0136cfe

Please sign in to comment.