def test_create_normal_compute_offering(self):
        """ Create normal compute offering with non zero values for cpu,
            cpu number and memory"""

        # Steps:
        # 1. Create normal compute offering with non zero values for cpu number,
        #    cpu speed, memory

        # Validations:
        # 1. Compute offering should be created

        self.services["service_offering"]["cpunumber"] = 2
        self.services["service_offering"]["cpuspeed"] = 256
        self.services["service_offering"]["memory"] = 128

        serviceOffering = ServiceOffering.create(self.api_client,
                                                 self.services["service_offering"]
                                                 )
        self.assertEqual(verifyComputeOfferingCreation(self.apiclient, serviceOffering.id),
                         PASS, "Compute Offering verification failed")

        self.cleanup_co.append(serviceOffering)
        return
    def test_create_dynamic_compute_offering(self):
        """ Create dynamic compute offering with cpunumber, cpuspeed and memory
            not specified"""

        # Steps:
        # 1. Create dynamic compute offering with values for cpu number,
        #    cpu speed, memory not specified

        # Validations:
        # 1. Compute offering should be created

        self.services["service_offering"]["cpunumber"] = ""
        self.services["service_offering"]["cpuspeed"] = ""
        self.services["service_offering"]["memory"] = ""

        serviceOffering = ServiceOffering.create(self.api_client,
                                                 self.services["service_offering"]
                                                 )
        self.assertEqual(verifyComputeOfferingCreation(self.apiclient, serviceOffering.id),
                         PASS, "Compute Offering verification failed")

        self.cleanup_co.append(serviceOffering)
        return