Skip to content

Commit

Permalink
test: Remove obsolete fixture
Browse files Browse the repository at this point in the history
It doesn't affect coverage report
  • Loading branch information
Stranger6667 committed Nov 26, 2020
1 parent 1c727ce commit b722986
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
22 changes: 0 additions & 22 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,25 +29,3 @@ def concrete_instance(m2m_object):


pytest_plugins = "pytester"


@pytest.fixture
def coveragerc(request, testdir):
"""
Generates .coveragerc to be used to combine test results from different subprocesses.
"""
data_file = "%s/.coverage.%s" % (request.config.rootdir, request.node.name)
return testdir.makefile(
".ini",
coveragerc="""
[run]
branch = true
data_file = %s
[report]
show_missing = true
precision = 2
exclude_lines = raise NotImplementedError
"""
% data_file,
)
1 change: 0 additions & 1 deletion tests/migrations/test_migrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
from .helpers import get_operations


@pytest.mark.usefixtures("coveragerc")
class TestMigrationFramework:
installed_apps = ["djmoney", "money_app"]
migration_output = ["*Applying money_app.0001_test... OK*", "*Applying money_app.0002_test... OK*"]
Expand Down

0 comments on commit b722986

Please sign in to comment.