Esempio n. 1
0
 def setUp(self):
     # we cannot load this using django built-in fixtures
     # because django filters are model dependent
     # (and we have a whack of dynamically generated non-model db tables)
     clear_data()
     user, domain = create_user_and_domain()
     create_xsd_and_populate("data/brac_chw.xsd", "data/brac_chw_1.xml", domain)
     self.client.login(username='******',password='******')
Esempio n. 2
0
 def tearDown(self):
     clear_data()
Esempio n. 3
0
 def tearDown(self):
     clear_data()
     clear_group_data()
Esempio n. 4
0
 def setUp(self):
     clear_data()
     self.original_formdef = create_xsd_and_populate("data/versioning/base.xsd")