Esempio n. 1
0
 def tearDownClass(cls):
     cls.cc_user.delete()
     cls.cc_user_no_data.delete()
     cls.cc_domain.delete()
     cls.aarohi_user.delete()
     cls.aarohi_domain.delete()
     clear_data()
Esempio n. 2
0
    def tearDown(self):
        super(TestSavingToUCRDatabase, self).tearDown()
        clear_data(self.cc_domain.name)
        self.cc_user.delete()
        self.cc_domain.delete()

        connection_manager.dispose_engine('ucr')
        self.db_context.__exit__(None, None, None)
Esempio n. 3
0
    def tearDown(self):
        super(TestSavingToUCRDatabase, self).tearDown()
        clear_data(self.cc_domain.name)
        self.cc_user.delete()
        self.cc_domain.delete()

        connection_manager.dispose_engine('ucr')
        self.db_context.__exit__(None, None, None)
Esempio n. 4
0
 def tearDownClass(cls):
     clear_data(cls.aarohi_domain.name)
     clear_data(cls.cc_domain.name)
     cls.cc_user.delete()
     cls.cc_user_no_data.delete()
     cls.cc_domain.delete()
     cls.aarohi_user.delete()
     cls.aarohi_domain.delete()
     super(CallCenterTests, cls).tearDownClass()
Esempio n. 5
0
 def tearDownClass(cls):
     clear_data(cls.aarohi_domain.name)
     clear_data(cls.cc_domain.name)
     cls.cc_user.delete()
     cls.cc_user_no_data.delete()
     cls.cc_domain.delete()
     cls.aarohi_user.delete()
     cls.aarohi_domain.delete()
     super(CallCenterTests, cls).tearDownClass()
Esempio n. 6
0
 def tearDownClass(cls):
     CaseAccessors.get_case_types.clear(CaseAccessors(cls.aarohi_domain.name))
     clear_data(cls.aarohi_domain.name)
     clear_data(cls.cc_domain.name)
     cls.cc_user.delete()
     cls.cc_user_no_data.delete()
     cls.cc_domain.delete()
     cls.aarohi_user.delete()
     cls.aarohi_domain.delete()
     super(CallCenterTests, cls).tearDownClass()
Esempio n. 7
0
 def tearDownClass(cls):
     CaseAccessors.get_case_types.clear(CaseAccessors(cls.aarohi_domain.name))
     clear_data(cls.aarohi_domain.name)
     clear_data(cls.cc_domain.name)
     cls.cc_user.delete()
     cls.cc_user_no_data.delete()
     cls.cc_domain.delete()
     cls.aarohi_user.delete()
     cls.aarohi_domain.delete()
     super(CallCenterTests, cls).tearDownClass()
Esempio n. 8
0
 def tearDown(self):
     super(CallCenterTestOpenedClosed, self).tearDown()
     clear_data(self.domain.name)
     self.domain.delete()
Esempio n. 9
0
 def tearDown(self):
     super(CallCenterCaseSharingTest, self).tearDown()
     clear_data(self.domain.name)
     self.domain.delete()
Esempio n. 10
0
 def tearDown(self):
     clear_data(self.domain.name)
     self.domain.delete()
     super(CallCenterSupervisorGroupTest, self).tearDown()
Esempio n. 11
0
 def tearDownClass(cls):
     cls.domain.delete()
     clear_data()
Esempio n. 12
0
 def tearDownClass(cls):
     cls.cc_domain.delete()
     cls.aarohi_domain.delete()
     clear_data()
Esempio n. 13
0
 def tearDown(self):
     super(CallCenterTestOpenedClosed, self).tearDown()
     clear_data(self.domain.name)
     self.domain.delete()
Esempio n. 14
0
 def tearDown(self):
     super(CallCenterCaseSharingTest, self).tearDown()
     clear_data(self.domain.name)
     self.domain.delete()
Esempio n. 15
0
 def tearDown(self):
     clear_data(self.domain.name)
     self.domain.delete()
     super(CallCenterSupervisorGroupTest, self).tearDown()
Esempio n. 16
0
 def tearDownClass(cls):
     cls.domain.delete()
     clear_data()