def test_delete_instance(self):
     exporter_config = ExporterConfig(self.config)
     with self.assertRaises(NotImplementedError):
         persistence = BasePersistence(exporter_config.persistence_options, meta())
         persistence.close()
 def test_generate_new_job(self):
     exporter_config = ExporterConfig(self.config)
     with self.assertRaises(NotImplementedError):
         persistence = BasePersistence(exporter_config.persistence_options, meta())
         persistence.generate_new_job()
 def test_commit_position(self):
     exporter_config = ExporterConfig(self.config)
     with self.assertRaises(NotImplementedError):
         persistence = BasePersistence(exporter_config.persistence_options, meta())
         persistence.commit_position(1)
示例#4
0
 def test_delete_instance(self):
     exporter_config = ExporterConfig(self.config)
     with self.assertRaises(NotImplementedError):
         persistence = BasePersistence(exporter_config.persistence_options,
                                       meta())
         persistence.close()
示例#5
0
 def test_generate_new_job(self):
     exporter_config = ExporterConfig(self.config)
     with self.assertRaises(NotImplementedError):
         persistence = BasePersistence(exporter_config.persistence_options,
                                       meta())
         persistence.generate_new_job()
示例#6
0
 def test_commit_position(self):
     exporter_config = ExporterConfig(self.config)
     with self.assertRaises(NotImplementedError):
         persistence = BasePersistence(exporter_config.persistence_options,
                                       meta())
         persistence.commit_position(1)