コード例 #1
0
 def test_log_identifiers_exists(self):
     self.assertTrue(
         helper.check_if_table_exist(self.cursor, 'log_identifiers'))
コード例 #2
0
 def test_endpoint_alerts_dne(self):
     self.assertFalse(
         helper.check_if_table_exist(self.cursor, 'endpoint_alerts')
     )
コード例 #3
0
 def test_mod_onboarding_progress_exists(self):
     self.assertTrue(
         helper.check_if_table_exist(self.cursor,
                                     'mod_onboarding_progress'))
コード例 #4
0
 def test_claim_tokens_does_not_exist(self):
     self.assertFalse(
         helper.check_if_table_exist(self.cursor, 'claim_tokens'))
コード例 #5
0
 def test_log_identifiers_dne(self):
     self.assertFalse(
         helper.check_if_table_exist(self.cursor, 'log_identifiers')
     )
コード例 #6
0
 def test_tables_exist(self):
     for tbl in TABLES:
         self.assertTrue(helper.check_if_table_exist(self.cursor, tbl))
コード例 #7
0
 def test_loan_creation_infos_dnde(self):
     self.assertFalse(
         helper.check_if_table_exist(self.cursor, 'loan_creation_infos'))
コード例 #8
0
 def test_permissions_does_exist(self):
     self.assertTrue(helper.check_if_table_exist(self.cursor,
                                                 'permissions'))
コード例 #9
0
 def test_authtokens_does_exist(self):
     self.assertTrue(helper.check_if_table_exist(self.cursor, 'authtokens'))
コード例 #10
0
 def test_user_demographic_history_exist(self):
     self.assertTrue(
         helper.check_if_table_exist(self.cursor,
                                     'user_demographic_history'))
コード例 #11
0
 def test_responses_exists(self):
     self.assertTrue(
         helper.check_if_table_exist(self.cursor, 'responses')
     )
コード例 #12
0
 def test_user_demographic_lookups_exist(self):
     self.assertTrue(
         helper.check_if_table_exist(self.cursor,
                                     'user_demographic_lookups'))
コード例 #13
0
 def test_pass_auth_events_dne(self):
     self.assertFalse(
         helper.check_if_table_exist(self.cursor,
                                     'password_authentication_events'))
コード例 #14
0
 def test_claim_tokens_exists(self):
     self.assertTrue(
         helper.check_if_table_exist(self.cursor, 'claim_tokens'))
コード例 #15
0
 def test_password_auth_permissions_does_not_exist(self):
     self.assertFalse(
         helper.check_if_table_exist(self.cursor,
                                     'password_auth_permissions'))
コード例 #16
0
 def test_password_auths_does_exist(self):
     self.assertTrue(
         helper.check_if_table_exist(self.cursor,
                                     'password_authentications'))
コード例 #17
0
 def test_trust_loan_delays_exists(self):
     self.assertTrue(
         helper.check_if_table_exist(self.cursor, 'trust_loan_delays'))
コード例 #18
0
 def test_response_histories_dne(self):
     self.assertFalse(
         helper.check_if_table_exist(self.cursor, 'response_histories'))
コード例 #19
0
 def test_handled_fullnames_does_exist(self):
     self.assertTrue(
         helper.check_if_table_exist(self.cursor, 'handled_fullnames'))
コード例 #20
0
 def test_endpoint_param_history_dne(self):
     self.assertFalse(
         helper.check_if_table_exist(self.cursor, 'endpoint_param_history'))
コード例 #21
0
 def test_comments_exists(self):
     self.assertTrue(
         helper.check_if_table_exist(self.cursor, 'trust_comments'))
コード例 #22
0
 def test_endpoint_alternative_history_exists(self):
     self.assertTrue(
         helper.check_if_table_exist(self.cursor,
                                     'endpoint_alternative_history'))
コード例 #23
0
 def test_log_applications_dne(self):
     self.assertFalse(
         helper.check_if_table_exist(self.cursor, 'log_applications')
     )
コード例 #24
0
 def test_users_does_exist(self):
     self.assertTrue(helper.check_if_table_exist(self.cursor, 'users'))
コード例 #25
0
 def test_temporary_bans_dne(self):
     self.assertFalse(
         helper.check_if_table_exist(self.cursor, 'temporary_bans')
     )
コード例 #26
0
 def test_temporary_bans_exists(self):
     self.assertTrue(
         helper.check_if_table_exist(self.cursor, 'temporary_bans')
     )
コード例 #27
0
 def test_moderators_exists(self):
     self.assertTrue(helper.check_if_table_exist(self.cursor, 'moderators'))
コード例 #28
0
 def test_authtoken_permissions_does_not_exist(self):
     self.assertFalse(
         helper.check_if_table_exist(self.cursor, 'authtoken_permissions'))
コード例 #29
0
 def test_delayed_queue_dne(self):
     self.assertFalse(
         helper.check_if_table_exist(self.cursor, 'delayed_queue')
     )
コード例 #30
0
 def test_log_applications_exists(self):
     self.assertTrue(
         helper.check_if_table_exist(self.cursor, 'log_applications'))