Skip to content

Commit

Permalink
changed code styling
Browse files Browse the repository at this point in the history
  • Loading branch information
harold-xi committed Aug 25, 2020
1 parent 31a8ebf commit 7cb1c72
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions tests/integration/test_deploy_and_evaluate_model_auth_on.py
Expand Up @@ -16,7 +16,7 @@ def test_deploy_and_evaluate_model(self):

self.deploy_models(self._get_username(), self._get_password())

headers = {
headers = {
"Content-Type": "application/json",
"Authorization": "Basic dXNlcjE6UEBzc3cwcmQ=",
"Host": "localhost:9009",
Expand All @@ -31,4 +31,5 @@ def test_deploy_and_evaluate_model(self):
conn.request("POST", "/evaluate", payload, headers)
SentimentAnalysis_eval = conn.getresponse()
self.assertEqual(200, SentimentAnalysis_eval.status)
SentimentAnalysis_eval.read()
SentimentAnalysis_eval.read()

1 change: 0 additions & 1 deletion tests/unit/server_tests/test_endpoint_handler.py
Expand Up @@ -162,4 +162,3 @@ def test_creds_no_auth_fails(self):
},
)
self.assertEqual(400, response.code)

0 comments on commit 7cb1c72

Please sign in to comment.