Пример #1
0
 def test_check_required_columns_fail(self):
     self.required.remove('study_title')
     with self.assertRaises(QiitaDBColumnError):
         check_required_columns(self.conn_handler, self.required,
                                self.table)
Пример #2
0
 def test_check_required_columns_fail(self):
     self.required.remove('study_title')
     with self.assertRaises(QiitaDBColumnError):
         check_required_columns(self.conn_handler, self.required,
                                self.table)
Пример #3
0
 def test_check_required_columns(self):
     # Doesn't do anything if correct info passed, only errors if wrong info
     check_required_columns(self.conn_handler, self.required, self.table)
Пример #4
0
 def test_check_required_columns(self):
     # Doesn't do anything if correct info passed, only errors if wrong info
     check_required_columns(self.conn_handler, self.required, self.table)