Exemple #1
0
 def setUp(self):
     BaseUser.create_table().run_sync()
     TokenAuth.create_table().run_sync()
 def setUp(self):
     SessionsBase.create_table(if_not_exists=True).run_sync()
     BaseUser.create_table(if_not_exists=True).run_sync()
     BaseUser(
         **self.credentials, active=True, admin=True, superuser=True
     ).save().run_sync()
Exemple #3
0
 def setUp(self):
     SessionsBase.create_table().run_sync()
     BaseUser.create_table().run_sync()
Exemple #4
0
 def setUp(self):
     BaseUser.create_table(if_not_exists=True).run_sync()