def test_created_instance_has_agreed_sla_from_template(self):
        data = self.get_valid_data()
        response = self.client.post(factories.InstanceFactory.get_list_url(), data)
        self.assertEqual(response.status_code, status.HTTP_201_CREATED, response.data % 'Error message %s')

        sla_level = self.template.sla_level
        created_instance = self.client.get(factories.InstanceFactory.get_list_url() + response.data['uuid'] + '/')
        self.assertEqual(sla_level, Decimal(created_instance.data['agreed_sla']))
dataset/ETHPy150Open opennode/nodeconductor/nodeconductor/iaas/tests/test_provisioning.py/InstanceProvisioningTest.test_created_instance_has_agreed_sla_from_template/swapped operands of `%`