-
Notifications
You must be signed in to change notification settings - Fork 213
Fix docker conditional import for tests #1655
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
Fix docker conditional import for tests #1655
Conversation
0fdd961
to
47f0f3b
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1655 +/- ##
======================================
Coverage 55.6% 55.6%
======================================
Files 172 172
Lines 13467 13467
======================================
Hits 7495 7495
Misses 5972 5972
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@b2vn could you give this a spin? I currently do not have a docker setup. |
f03b75e
to
f0b672a
Compare
I saw this and gave it a test. Is this what you needed @Emantor ? Running tests without the
And with:
|
f0b672a
to
3f1c6c0
Compare
This way we can correctly skip the tests if the module is not available, otherwise we gat a ModuleNotFoundError because of the unconditional docker import. Signed-off-by: Rouven Czerwinski <rouven@czerwinskis.de>
3f1c6c0
to
c2de949
Compare
Description
This way we can correctly skip the tests if the module is not available,
otherwise we gat a ModuleNotFoundError because of the unconditional
docker import.
Checklist