Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/logout doesn't work on SBH3 #384

Open
anjalakaturi opened this issue Apr 6, 2023 · 0 comments · May be fixed by #390
Open

/logout doesn't work on SBH3 #384

anjalakaturi opened this issue Apr 6, 2023 · 0 comments · May be fixed by #390
Assignees
Milestone

Comments

@anjalakaturi
Copy link
Contributor

[synbiohub test] test_count completed
http://localhost:7777/logout
SBH1

http://localhost:6789/logout
Traceback (most recent call last):
File "/Users/anjala/Desktop/DLA/synbiohub/sbh3/synbiohub3/tests/test_functions.py", line 143, in post_request
response.raise_for_status()
File "/Users/anjala/.pyenv/versions/3.9.0/lib/python3.9/site-packages/requests/models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 405 Client Error: for url: http://localhost:6789/login?logout

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Users/anjala/Desktop/DLA/synbiohub/sbh3/synbiohub3/tests/test_suite.py", line 8, in
test_root.test_root()
File "/Users/anjala/Desktop/DLA/synbiohub/sbh3/synbiohub3/tests/test_root.py", line 63, in test_root
testAdmin.test_admin1()
File "/Users/anjala/Desktop/DLA/synbiohub/sbh3/synbiohub3/tests/test_admin.py", line 14, in test_admin1
compare_post_request("logout", data, headers = {"Accept": "text/plain"}, route_parameters = [], files = None, test_type="User")
File "/Users/anjala/Desktop/DLA/synbiohub/sbh3/synbiohub3/tests/test_functions.py", line 404, in compare_post_request
compare_request(post_request(request, 1, data, headers, route_parameters, files = files), post_request(request, 3, data, headers, route_parameters, files = files), request, "post request", test_type)
File "/Users/anjala/Desktop/DLA/synbiohub/sbh3/synbiohub3/tests/test_functions.py", line 146, in post_request
raise HTTPError("Internal server error. Content of response was \n" + response.text)
requests.exceptions.HTTPError: Internal server error. Content of response was

@anjalakaturi anjalakaturi linked a pull request Apr 11, 2023 that will close this issue
@cjmyers cjmyers added this to the SBH 3.0.0 milestone Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants