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

Test /events and /labels, especially auth #223

Merged
merged 4 commits into from
May 5, 2018
Merged

Conversation

osteele
Copy link
Contributor

@osteele osteele commented May 4, 2018

b7f354e Add more event tests

Starts #103.

Creates stubs for #75 (marked in test_events.py by a TODO).

Issues #218, #217, #216 and ,#215 should add to these tests.

937445b Minor improvements to test_events.py

  • Rename the test case.
  • it's no longer necessary to set app.debug

2adaea2 Add test cases for /labels

Also in label_resources.py:

  • Change a logger.warning to logging.debug, since it's not a server issue if this happens (and this was chattering at the test suite)
  • Letter logger.{debug,info} do the string formatting instead of passing it formatted strings — for style and efficiency

Starts #103.

Creates stubs for #75 (marked in `test_events.py` by a TODO).

Issues #218, #217, #216 and ,#215 should add to these tests.
* Rename the test case.
* it's no longer necessary to set app.debug
Also in label_resources.py:
* Change a logger.warning to a logging.debug, since it's not a server issue if this happens (and was chattering at the test suite)
* Letter logger.{debug,info} do the string formatting instead of passing it formatted strings — for style and efficiency
@osteele
Copy link
Contributor Author

osteele commented May 4, 2018

@songbird175 if you've got work on this branch ready to go you can push and it will go in this PR. Otherwise rebase from or merge dev once this is merged. (I'm trying to keep mergeable changes from hanging out on branches for too long.)

Copy link
Contributor

@songbird175 songbird175 left a comment

Choose a reason for hiding this comment

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

Removed one unused import and the Travis CI build passes both checks now. I'll do more work on my own branch after this PR is merged.

@osteele osteele merged commit d765131 into dev May 5, 2018
@osteele osteele deleted the osteele/test-events branch May 5, 2018 03:26
@jaredbriskman jaredbriskman mentioned this pull request May 5, 2018
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

2 participants