Skip to content

Commit

Permalink
Req: bump to pytest 3.0.0
Browse files Browse the repository at this point in the history
Adapt MonkeyPatch
Adapt setup.cfg
  • Loading branch information
dwaynebailey committed Aug 23, 2016
1 parent f18a822 commit e6c92cb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pytest_pootle/fixtures/mock.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@

"""Monkeypatching fixtures."""

from _pytest.monkeypatch import monkeypatch
from _pytest.monkeypatch import MonkeyPatch


mp = monkeypatch()
mp = MonkeyPatch()


class FakeJob(object):
Expand Down
2 changes: 1 addition & 1 deletion requirements/tests.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Testing

factory_boy>=2.5.2
pytest<3.0.0
pytest==3.0.0
pytest-catchlog
pytest-cov
pytest-django>=2.8,<2.9
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[pytest]
[tool:pytest]
python_files=*.py
addopts=--nomigrations --tb=short tests
norecursedirs=.git _build tmp* requirements commands/*
Expand Down

0 comments on commit e6c92cb

Please sign in to comment.