Skip to content

Commit

Permalink
Better fixture function names
Browse files Browse the repository at this point in the history
  • Loading branch information
viniciusban committed Oct 7, 2013
1 parent 39fcad3 commit fb7396e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def appname():


@pytest.fixture(scope='session', autouse=True)
def fixture_create_testfile_to_application(request, appname):
def create_testfile_to_application(request, appname):
'''Creates a temp file to tell application she's running under a
test environment.
Expand All @@ -57,7 +57,7 @@ def fixture_create_testfile_to_application(request, appname):


@pytest.fixture(autouse=True)
def fixture_cleanup_db(web2py):
def cleanup_db(web2py):
'''Truncate all database tables before every single test case.
This can really slow down your tests. So, keep your test data small and try
Expand Down

0 comments on commit fb7396e

Please sign in to comment.