def test_positive_view_dump(self): """Export contents of a job template @id: 25fcfcaa-fc4c-425e-919e-330e36195c4a @Assert: Verify no errors are thrown """ template_name = gen_string("alpha", 7) make_job_template({u"organizations": self.organization["name"], u"name": template_name, u"file": TEMPLATE_FILE}) dumped_content = JobTemplate.dump({u"name": template_name}) self.assertGreater(len(dumped_content), 0)
def test_positive_view_dump(self): """Export contents of a job template @id: 25fcfcaa-fc4c-425e-919e-330e36195c4a @Assert: Verify no errors are thrown """ template_name = gen_string('alpha', 7) make_job_template({ u'organizations': self.organization['name'], u'name': template_name, u'file': TEMPLATE_FILE }) dumped_content = JobTemplate.dump({u'name': template_name}) self.assertGreater(len(dumped_content), 0)
def test_positive_view_dump(module_org): """Export contents of a job template :id: 25fcfcaa-fc4c-425e-919e-330e36195c4a :expectedresults: Verify no errors are thrown """ template_name = gen_string('alpha', 7) make_job_template({ 'organizations': module_org.name, 'name': template_name, 'file': TEMPLATE_FILE, }) dumped_content = JobTemplate.dump({'name': template_name}) assert len(dumped_content) > 0
def test_positive_view_dump(self): """Export contents of a job template :id: 25fcfcaa-fc4c-425e-919e-330e36195c4a :expectedresults: Verify no errors are thrown :CaseImportance: Critical """ template_name = gen_string('alpha', 7) make_job_template({ u'organizations': self.organization['name'], u'name': template_name, u'file': TEMPLATE_FILE }) dumped_content = JobTemplate.dump({u'name': template_name}) self.assertGreater(len(dumped_content), 0)