Skip to content

Commit

Permalink
Translate method and message to english
Browse files Browse the repository at this point in the history
  • Loading branch information
viniciusban committed Oct 6, 2013
1 parent a5afadf commit 23f6b4f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ def fixture_create_testfile_to_application(request, appname):
temp_filename = '%s/tests_%s.tmp' % (temp_dir, appname)

with open(temp_filename, 'w+') as tempfile:
tempfile.write('aplicacao %s rodando em modo de teste' % appname)
tempfile.write('application %s running in test mode.' % appname)

def _apaga_tempfile_que_identifica_o_teste():
def _delete_test_tempfile():
import shutil
shutil.rmtree(temp_dir)
#os.remove(temp_filename)
request.addfinalizer(_apaga_tempfile_que_identifica_o_teste)
request.addfinalizer(_delete_test_tempfile)


@pytest.fixture(autouse=True)
Expand Down

0 comments on commit 23f6b4f

Please sign in to comment.