Permalink
Browse files

Fixed a bug: the tests were overriding the production database.

  • Loading branch information...
1 parent 187973c commit 7d07b52c0fd157b9190df08a6da457795a6c4918 @jjinux committed Mar 24, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 features/twilio_steps.py
View
@@ -25,7 +25,7 @@ def before_each_scenario(scenario):
@after.each_scenario
def after_each_scenario(scenario):
os.close(world._db_fd)
- os.unlink(pyteladventure.DATABASE)
+ os.unlink(pyteladventure.app.config['DATABASE'])
def print_world_response_data():

0 comments on commit 7d07b52

Please sign in to comment.