Contact: fumanchu@aminus.org

Log in as guest/geniusql to create tickets

root/trunk/geniusql/test/test_sqlite_inmemory.py

Revision 293 (checked in by lakin, 1 year ago)

cleaning up the tests, and removing providers that we don't have the manpower to support. If someone would like to maintain one of these providers we will support their efforts to do so.

Line 
1 import _sqlite3 as _sqlite
2
3 from geniusql.test import zoo_fixture, test
4
5 db = test.DBConfig('sqlite', {'name': ':memory:'})
6 setUp = db.setUp
7 tearDown = db.tearDown
8
9 #-------------------------------------------------------------------------------
10 class Phase1_ZooTests(zoo_fixture.Phase1_ZooTests):
11     pass
12 db.register_db_test_class(Phase1_ZooTests)
13
14
15 # in :memory: sqlite database don't bother with Concurrency tests or Isloation
16 # tests.
17
18 #-------------------------------------------------------------------------------
19 class Phase2_TransactionTests(zoo_fixture.Phase2_TransactionTests):
20     pass
21 db.register_db_test_class(Phase2_TransactionTests)
22
23 #-------------------------------------------------------------------------------
24 # TODO: thi sisn't ported yet.
25 #class Phase2_NumericTests(zoo_fixture.Phase2_NumericTests):
26     #pass
27 #db.register_db_test_class(Phase2_NumericTests)
28
29 #-------------------------------------------------------------------------------
30 class Phase2_ConnectionTests(zoo_fixture.Phase2_ConnectionTests):
31     pass
32 db.register_db_test_class(Phase2_ConnectionTests)
33
34 #-------------------------------------------------------------------------------
35 class Phase2_SQLInjectionTests(zoo_fixture.Phase2_SQLInjectionTests):
36     pass
37 db.register_db_test_class(Phase2_SQLInjectionTests)
38
Note: See TracBrowser for help on using the browser.