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

OE0-95: Fix the mocking context leaking into other tests #80

Merged
merged 2 commits into from Feb 8, 2022

Conversation

malinowskikam
Copy link
Contributor

@malinowskikam malinowskikam commented Feb 1, 2022

https://openimis.atlassian.net/browse/OE0-95

Changes:

  • Replaced mocking of Invoice.line_items with saving a model for the test and removing it after
  • Moved log in helper methods from test_api_login to separate mixin to reuse in other api tests
  • Fixed wrong import in FhirConverterTestMixin
  • Cleaned repeating "create user" code from api tests

@dragos-dobre dragos-dobre merged commit d86428e into develop Feb 8, 2022
@dragos-dobre dragos-dobre deleted the feature/OE0-95 branch February 8, 2022 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants