Skip to content

Commit

Permalink
auto use, n is 3
Browse files Browse the repository at this point in the history
  • Loading branch information
ajay-sentry committed Jun 3, 2024
1 parent 6211369 commit ed06b46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[pytest]
DJANGO_SETTINGS_MODULE = codecov.settings_dev
addopts = --reuse-db -n auto --dist no -p no:warnings --ignore=shared --ignore-glob=**/test_results*
addopts = --reuse-db -n 3 --dist no -p no:warnings --ignore=shared --ignore-glob=**/test_results*
2 changes: 1 addition & 1 deletion upload/tests/test_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,7 @@ def test_dispatch_upload_task(self, upload):


class UploadHandlerRouteTest(APITestCase):
@pytest.fixture(autouse=True)
@pytest.fixture(scope="function", autouse=True)
def inject_mocker(self, mocker):
self.mocker = mocker

Expand Down

0 comments on commit ed06b46

Please sign in to comment.