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

add test to validate info response with auth off #256

Merged
merged 7 commits into from
Apr 16, 2019
Merged

Conversation

johng42
Copy link
Contributor

@johng42 johng42 commented Apr 10, 2019

since this actually goes through tornado this should be sufficient for E2E to validate the info response for auth on (already tested) and auth off (this test)

since this actually goes through tornado this should be sufficient for E2E to validate the info response for auth on (already tested) and auth off (this test)
@pep8speaks
Copy link

pep8speaks commented Apr 10, 2019

Hello @johng42! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2019-04-11 20:05:50 UTC

@johng42 johng42 marked this pull request as ready for review April 10, 2019 19:39
build fails w/o bytes being specified - a bytes like object is needed
tabpy-server/server_tests/test_service_info_handler.py Outdated Show resolved Hide resolved
cls.config_file = tempfile.NamedTemporaryFile(
prefix=prefix, suffix='.conf', delete=False)
cls.config_file.write(
bytes(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rather than creating bytes here you could just open the file in w+ mode to write strings

@0golovatyi
Copy link
Contributor

@johng42 build failed

@0golovatyi 0golovatyi merged commit 26ab5ab into dev Apr 16, 2019
@0golovatyi 0golovatyi deleted the johng42-patch-4 branch April 19, 2019 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants