def test_list_flavors(self):
     use_case_tests.infrastructure_on_line_test(self.app)
     use_case_tests.register_new_infrastucture_xml_test(self.app)
     use_case_tests.unregister_infrastucture_test(self.app)
     use_case_tests.register_new_infrastucture_json_test(self.app)
     use_case_tests.list_all_flavors_xml_test(self.app)
     use_case_tests.list_all_flavors_json_test(self.app)
 def test_create_and_delete_flavors(self):
     use_case_tests.infrastructure_on_line_test(self.app)
     use_case_tests.register_new_infrastucture_xml_test(self.app)
     use_case_tests.unregister_infrastucture_test(self.app)
     use_case_tests.register_new_infrastucture_json_test(self.app)
     flavor_id = use_case_tests.create_new_flavor_xml_test(self.app)
     use_case_tests.list_all_flavors_xml_test(self.app,flavor_id)
     use_case_tests.list_all_flavors_json_test(self.app,flavor_id)
     use_case_tests.delete_flavor_test(self.app, flavor_id)
     flavor_id = use_case_tests.create_new_flavor_json_test(self.app)
     use_case_tests.list_all_flavors_xml_test(self.app,flavor_id)
     use_case_tests.list_all_flavors_json_test(self.app,flavor_id)
     use_case_tests.get_flavor_info_xml_test(self.app, flavor_id)
     use_case_tests.get_flavor_info_json_test(self.app, flavor_id)
     use_case_tests.delete_flavor_test(self.app, flavor_id)
     use_case_tests.unregister_infrastucture_test(self.app)
 def test_register_and_unregister_infrastucture(self):
     use_case_tests.infrastructure_on_line_test(self.app)
     use_case_tests.register_new_infrastucture_xml_test(self.app)
     use_case_tests.unregister_infrastucture_test(self.app)
     use_case_tests.register_new_infrastucture_json_test(self.app)
     use_case_tests.unregister_infrastucture_test(self.app)