Merge "Added test for job update using cli"
This commit is contained in:
commit
be8841e30e
@ -55,6 +55,14 @@ class SaharaJobCLITest(base.ClientTestBase):
|
||||
if not check_table:
|
||||
raise self.skipException('No table to show information')
|
||||
|
||||
def openstack_job_update(self, job_id):
|
||||
self.assertTableStruct(
|
||||
self.listing_result(
|
||||
'job update --public %s' % job_id), [
|
||||
'Field',
|
||||
'Value'
|
||||
])
|
||||
|
||||
def openstack_job_delete(self, job_id):
|
||||
delete_job = self.openstack('dataprocessing job delete',
|
||||
params=job_id)
|
||||
|
@ -154,6 +154,7 @@ class Scenario(images.SaharaImageCLITest,
|
||||
input_file, output_file)
|
||||
self.openstack_job_list()
|
||||
self.openstack_job_show(job_id)
|
||||
self.openstack_job_update(job_id)
|
||||
self.openstack_job_delete(job_id)
|
||||
self.openstack_data_source_delete(input_file)
|
||||
self.openstack_data_source_delete(output_file)
|
||||
|
Loading…
Reference in New Issue
Block a user