def setUp(self):
     gludb.config.default_database(gludb.config.Database(
         'mongodb',
         mongo_url='mongodb://localhost:27017/gludb_testing'
     ))
     delete_test_colls()
     IndexedData.ensure_table()
Esempio n. 2
0
 def setUp(self):
     gludb.config.default_database(
         gludb.config.Database(
             'mongodb',
             mongo_url='mongodb://localhost:27017/gludb_testing'))
     delete_test_colls()
     IndexedData.ensure_table()
Esempio n. 3
0
 def setUp(self):
     gludb.config.default_database(gludb.config.Database(
         'postgresql',
         conn_string=PG_CONN_STR
     ))
     delete_test_tables()
     IndexedData.ensure_table()
    def test_repeated_creates(self):
        SimpleStorage.ensure_table()
        SimpleStorage.ensure_table()
        SimpleStorage.ensure_table()

        IndexedData.ensure_table()
        IndexedData.ensure_table()
        IndexedData.ensure_table()
Esempio n. 5
0
    def test_repeated_creates(self):
        SimpleStorage.ensure_table()
        SimpleStorage.ensure_table()
        SimpleStorage.ensure_table()

        IndexedData.ensure_table()
        IndexedData.ensure_table()
        IndexedData.ensure_table()
Esempio n. 6
0
 def setUp(self):
     gludb.config.default_database(gludb.config.Database('dynamodb'))
     IndexedData.ensure_table()
Esempio n. 7
0
 def setUp(self):
     gludb.config.default_database(
         gludb.config.Database('postgresql', conn_string=PG_CONN_STR))
     delete_test_tables()
     IndexedData.ensure_table()