Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Allow the test runner to use apsw backend...it blows up pretty bad at

the moment
  • Loading branch information...
commit 02885d06fd0786e98cd6743058218489c1fe913e 1 parent 31fb8b3
@coleifer authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 tests.py
View
4 tests.py
@@ -33,6 +33,10 @@ def emit(self, record):
elif BACKEND == 'mysql':
database_class = MySQLDatabase
database_name = 'peewee_test'
+elif BACKEND == 'apsw':
+ from extras.apsw_ext import APSWDatabase
+ database_class = APSWDatabase
+ database_name = 'tmp.db'
else:
database_class = SqliteDatabase
database_name = 'tmp.db'
Please sign in to comment.
Something went wrong with that request. Please try again.