Esempio n. 1
0
    def runTest(self):
        output = FTPOutput(
            name=self.ftp_configuration.get('name'),
            host=self.ftp_configuration.get('host'),
            basic_auth_user=self.ftp_configuration.get('username'),
            basic_auth_password=self.ftp_configuration.get('password'),
            passive=self.ftp_configuration.get('passive'))
        self.output = create_output(output)
        self.assertIsNotNone(self.output.output_id)

        delete_output(self.output.output_id)
        with self.assertRaises(BitcodinNotFoundError):
            get_output(self.output.output_id)
    def runTest(self):
        output = FTPOutput(
            name=self.ftp_configuration.get('name'),
            host=self.ftp_configuration.get('host'),
            basic_auth_user=self.ftp_configuration.get('username'),
            basic_auth_password=self.ftp_configuration.get('password'),
            passive=self.ftp_configuration.get('passive')
        )
        self.output = create_output(output)
        self.assertIsNotNone(self.output.output_id)

        delete_output(self.output.output_id)
        with self.assertRaises(BitcodinNotFoundError):
            get_output(self.output.output_id)
 def tearDown(self):
     delete_output(self.output.output_id)
     super(CreateS3OutputTestCase, self).tearDown()
Esempio n. 4
0
 def runTest(self):
     delete_output(self.output.output_id)
Esempio n. 5
0
 def tearDown(self):
     delete_output(self.output.output_id)
     super(GetFTPOutputTestCase, self).tearDown()
 def runTest(self):
     delete_output(self.output.output_id)
 def tearDown(self):
     delete_output(self.output.output_id)
     super(GetFTPOutputTestCase, self).tearDown()
 def tearDown(self):
     delete_input(self.input.input_id)
     delete_encoding_profile(self.encoding_profile.encoding_profile_id)
     delete_output(self.output.output_id)
     super(TransferJobToAzureTestCase, self).tearDown()
 def tearDown(self):
     delete_input(self.input.input_id)
     delete_encoding_profile(self.encoding_profile.encoding_profile_id)
     delete_output(self.output.output_id)
     super(TransferJobToFTPTestCase, self).tearDown()
 def test_delete_output(self):
     outputs = bitcodin.list_outputs()
     self.assertGreater(len(outputs), 0)
     self.assertTrue(bitcodin.delete_output(outputs[0].output_id))