def tearDown(self): add_database_to_settings('test_kc_tecnomobile') add_database_to_settings('test_kc_sabc') add_database_to_settings('test_kc_ems') wipe_test_data() wipe_test_data('test_kc_tecnomobile') wipe_test_data('test_kc_sabc') wipe_test_data('test_kc_ems') wipe_test_data(UMBRELLA)
def setUp(self): self.client = Client() add_database_to_settings('test_kc_tecnomobile') add_database_to_settings('test_kc_sabc') add_database_to_settings('test_kc_ems') wipe_test_data() wipe_test_data('test_kc_tecnomobile') wipe_test_data('test_kc_sabc') wipe_test_data('test_kc_ems') wipe_test_data(UMBRELLA) for fixture in self.fixtures: call_command('loaddata', fixture) call_command('loaddata', fixture, database='test_kc_tecnomobile') call_command('loaddata', fixture, database='test_kc_sabc') call_command('loaddata', fixture, database='test_kc_ems') call_command('loaddata', fixture, database=UMBRELLA) call_command('loaddata', 'orders.yaml')
def tearDown(self): wipe_test_data() wipe_test_data(UMBRELLA)
def tearDown(self): wipe_test_data() wipe_test_data(UMBRELLA) wipe_test_data('levignon')
def tearDown(self): wipe_test_data()
def tearDown(self): wipe_test_data() wipe_test_data('test_kc_tecnomobile')
def tearDown(self): wipe_test_data() wipe_test_data('umbrella')
def tearDown(self): add_database_to_settings('test_kc_tecnomobile') add_database_to_settings('test_kc_sabc') add_database_to_settings('test_kc_foka') add_database_to_settings('test_kc_ems') add_database_to_settings('test_kc_afic') wipe_test_data() wipe_test_data('test_kc_tecnomobile') wipe_test_data('test_kc_sabc') wipe_test_data('test_kc_foka') wipe_test_data('test_kc_ems') wipe_test_data('test_kc_afic') wipe_test_data(UMBRELLA) OperatorWallet.objects.using(WALLETS_DB_ALIAS).all().update(balance=0) cache.clear()
def setUp(self): self.client = Client() add_database_to_settings('test_kc_tecnomobile') add_database_to_settings('test_kc_sabc') add_database_to_settings('test_kc_foka') add_database_to_settings('test_kc_ems') wipe_test_data() wipe_test_data('test_kc_tecnomobile') wipe_test_data('test_kc_sabc') wipe_test_data('test_kc_foka') wipe_test_data('test_kc_ems') wipe_test_data(UMBRELLA) for fixture in self.fixtures: call_command('loaddata', fixture) call_command('loaddata', 'kc_members.yaml', database=UMBRELLA) for fixture in ['kc_setup_data.yaml', 'kc_operators_configs.yaml']: call_command('loaddata', fixture, database=UMBRELLA) call_command('loaddata', fixture, database='test_kc_tecnomobile') call_command('loaddata', fixture, database='test_kc_sabc') call_command('loaddata', fixture, database='test_kc_foka') call_command('loaddata', fixture, database='test_kc_ems')