Skip to content
New issue

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

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

Already on GitHub? # to your account

Cleanup test and add mock server #56

Open
wants to merge 9 commits into
base: callback_module
Choose a base branch
from

Conversation

scanon
Copy link
Contributor

@scanon scanon commented Aug 4, 2023

This cleans up some tests and add a mock server which should allow for greater coverage during testing.

scanon added 7 commits August 4, 2023 15:48
This replaces the fixed mock data with a method.
This makes it easier to over-ride the URL and
use a test server.
This starts up a mock server which allows running more
test without a valid token.
The chdir is really a bad idea.  This was causing coverage
test to be written in a test directory.  This removes the
chdir and uses other ways to achieve the same result.
Replaces some assertEquals with assertEqual.
@scanon scanon changed the base branch from callback_module to main January 4, 2024 19:48
@scanon scanon changed the base branch from main to callback_module January 4, 2024 19:49
Switch to pytest in some spots
Allow refdata area to be overriden for tests
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant