Skip to content

Commit

Permalink
[clean] Removed debug comments and updated pytest.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
Paulo committed Jan 3, 2020
1 parent 8b46382 commit 6eaeb9b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions django_dynamic_fixture/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,8 @@
original_teardown_test_environment = utils.teardown_test_environment
def fixed_teardown_test_environment():
try:
print('ae1')
original_teardown_test_environment()
print('ae2')
except TypeError:
print('ae3')
# Ignore some Django or PyTest-Django bug
pass
utils.teardown_test_environment = fixed_teardown_test_environment
Expand Down
2 changes: 1 addition & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[pytest]
DJANGO_SETTINGS_MODULE = settings
addopts = --pyargs
addopts = --pyargs --create-db --reuse-db --no-migrations
python_files = test_*.py

0 comments on commit 6eaeb9b

Please sign in to comment.