def test_password_authentication_events_missing_pkey(self):
     self.assertFalse(
         helper.check_if_pkey_exists(self.cursor,
                                     'password_authentication_events'))
 def test_user_settings_events_missing_pkey(self):
     self.assertFalse(
         helper.check_if_pkey_exists(self.cursor, 'user_settings_events'))
 def test_mod_onboarding_progress_has_pkey(self):
     self.assertTrue(
         helper.check_if_pkey_exists(self.cursor,
                                     'mod_onboarding_progress'))
 def test_loan_creation_infos_missing_pkey(self):
     self.assertFalse(
         helper.check_if_pkey_exists(self.cursor, 'loan_creation_infos'))
 def test_comments_has_pkey(self):
     self.assertTrue(
         helper.check_if_pkey_exists(self.cursor, 'trust_comments'))
 def test_moderators_has_pkey(self):
     self.assertTrue(helper.check_if_pkey_exists(self.cursor, 'moderators'))
예제 #7
0
 def test_temporary_bans_has_pkey(self):
     self.assertTrue(
         helper.check_if_pkey_exists(self.cursor, 'temporary_bans')
     )
 def test_trust_loan_delays_has_pkey(self):
     self.assertTrue(
         helper.check_if_pkey_exists(self.cursor, 'trust_loan_delays'))
 def test_delayed_queue_has_pkey(self):
     self.assertTrue(
         helper.check_if_pkey_exists(self.cursor, 'delayed_queue'))
예제 #10
0
 def test_endpoint_alternative_history_has_pkey(self):
     self.assertTrue(
         helper.check_if_pkey_exists(self.cursor,
                                     'endpoint_alternative_history'))
 def test_user_settings_events_has_pkey(self):
     self.assertTrue(
         helper.check_if_pkey_exists(self.cursor, 'user_settings_events'))
 def test_password_authentication_events_has_pkey(self):
     self.assertTrue(
         helper.check_if_pkey_exists(self.cursor,
                                     'password_authentication_events'))
 def test_loan_creation_infos_has_pkey(self):
     self.assertTrue(
         helper.check_if_pkey_exists(self.cursor, 'loan_creation_infos'))
 def test_mod_onboarding_msg_history_has_pkey(self):
     self.assertTrue(
         helper.check_if_pkey_exists(self.cursor, 'mod_onboarding_msg_history')
     )
 def test_endpoint_alerts_has_pkey(self):
     self.assertTrue(
         helper.check_if_pkey_exists(self.cursor, 'endpoint_alerts')
     )