-
Notifications
You must be signed in to change notification settings - Fork 10
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
PTFE-693: unit test for settings class #309
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Optionally add a testcase with errors expecting to be raised:
What happens when you do:
Settings(redis_om_url="toto")
Can be tested like:
with pytest.raises(<expected exception>):
Settings(redis_om_url="toto")
Co-authored-by: Thomas Carmet <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #309 +/- ##
==========================================
+ Coverage 90.04% 90.47% +0.43%
==========================================
Files 13 13
Lines 231 231
==========================================
+ Hits 208 209 +1
+ Misses 23 22 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
No description provided.