Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
swh-lister
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Platform
Development
swh-lister
Commits
e4c707d8
Commit
e4c707d8
authored
1 year ago
by
Antoine Lambert
Browse files
Options
Downloads
Patches
Plain Diff
pytest.ini: Ensure '--import-mode importlib' option is always used
Fix hanging test when executed outside tox.
parent
c2402f40
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#5814
passed
1 year ago
Stage: external
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pytest.ini
+5
-3
5 additions, 3 deletions
pytest.ini
tox.ini
+0
-1
0 additions, 1 deletion
tox.ini
with
5 additions
and
4 deletions
pytest.ini
+
5
−
3
View file @
e4c707d8
[pytest]
# We need this to avoid conflicts between the autoloaded fixture, and the
# manually loaded one.
addopts
=
-p no:pytest_swh_scheduler
addopts
=
# we need this to avoid conflicts between the autoloaded fixture,
# and the manually loaded one.
-p
no:pytest_swh_scheduler
--import-mode
importlib
norecursedirs
=
build docs .*
asyncio_mode
=
strict
This diff is collapsed.
Click to expand it.
tox.ini
+
0
−
1
View file @
e4c707d8
...
...
@@ -13,7 +13,6 @@ deps =
pytest-cov
commands
=
pytest
--doctest-modules
\
--import-mode
importlib
\
--rootdir
{envsitepackagesdir}
\
--cov
=
{envsitepackagesdir}/swh/lister
\
--cov-branch
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment