Browse Source

Use in memory database for testing

sh4nks 11 years ago
parent
commit
30c0700d68
1 changed files with 1 additions and 1 deletions
  1. 1 1
      flaskbb/configs/testing.py

+ 1 - 1
flaskbb/configs/testing.py

@@ -20,7 +20,7 @@ class TestingConfig(DefaultConfig):
     # This will create in the applications folder (where manage.py is)
     # This will create in the applications folder (where manage.py is)
     # a database named flaskbb.sqlite.
     # a database named flaskbb.sqlite.
     SQLALCHEMY_DATABASE_URI = (
     SQLALCHEMY_DATABASE_URI = (
-        'sqlite:///' + DefaultConfig._basedir + '/' + 'flaskbb_testing.sqlite'
+        'sqlite://'
     )
     )
 
 
     # This will print all SQL statements
     # This will print all SQL statements