Skip to content

Commit

Permalink
Remove unused/buggy create_conftest helper in django_testdir
Browse files Browse the repository at this point in the history
  • Loading branch information
pelme committed Jul 26, 2014
1 parent 1525bf3 commit e30b451
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,10 @@ def create_test_module(test_code, filename='test_the_test.py'):
tpkg_path = testdir.tmpdir / 'tpkg'
tpkg_path.join(filename).write(dedent(test_code))

def create_conftest(testdir, conftest_code):
return create_test_module(testdir, conftest_code, 'conftest.py')

def create_app_file(code, filename):
test_app_path.join(filename).write(dedent(code))

testdir.create_test_module = create_test_module
testdir.create_conftest = create_conftest
testdir.create_app_file = create_app_file

return testdir

0 comments on commit e30b451

Please sign in to comment.