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

Trying tuning test run time #1498

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ npm test
display_result $? 1 "npm test"

## Code coverage
py.test -n4 --maxfail=1 tests/ --strict -p no:warnings
py.test -n auto --maxfail=1 tests/ --strict -p no:warnings
display_result $? 1 "Code coverage"
4 changes: 1 addition & 3 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def a11y_test(slug: str, html):
return True


@pytest.fixture
@pytest.fixture(scope="session")
def app_():
app = Flask("app")
create_app(app)
Expand All @@ -78,8 +78,6 @@ def app_():
app.test_client_class = TestClient
yield app

ctx.pop()


@pytest.fixture(scope="function")
def service_one(api_user_active):
Expand Down
Loading