Use new osb_id fields to match API requests
All checks were successful
Tests / test (push) Successful in 32s
All checks were successful
Tests / test (push) Successful in 32s
This commit is contained in:
parent
4be6eeb18f
commit
e459047622
3 changed files with 70 additions and 70 deletions
|
|
@ -10,7 +10,6 @@ from servala.core.models import (
|
|||
)
|
||||
from servala.core.models.service import (
|
||||
CloudProvider,
|
||||
Plan,
|
||||
Service,
|
||||
ServiceCategory,
|
||||
ServiceOffering,
|
||||
|
|
@ -56,6 +55,7 @@ def test_service(test_service_category):
|
|||
slug="redis",
|
||||
category=test_service_category,
|
||||
description="Redis database service",
|
||||
osb_service_id="test-service-123",
|
||||
)
|
||||
|
||||
|
||||
|
|
@ -73,18 +73,7 @@ def test_service_offering(test_service, test_cloud_provider):
|
|||
service=test_service,
|
||||
provider=test_cloud_provider,
|
||||
description="Redis on Exoscale",
|
||||
)
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def test_plan(test_service_offering):
|
||||
return Plan.objects.create(
|
||||
name="Small",
|
||||
description="Small Redis plan",
|
||||
term=1,
|
||||
service_offering=test_service_offering,
|
||||
features={"memory": "1GB", "connections": 100},
|
||||
pricing={"monthly": 10.0},
|
||||
osb_plan_id="test-plan-123",
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue