Support expiring of capacity if a node is down

For a certain amount of time
This commit is contained in:
Matthew Jones
2016-11-10 09:51:21 -05:00
parent 2672846ad2
commit 78b8876ed9
4 changed files with 24 additions and 3 deletions

View File

@@ -153,7 +153,7 @@ def user_project(user):
@pytest.fixture
def instance(settings):
return Instance.objects.create(uuid=settings.SYSTEM_UUID, hostname="instance.example.org")
return Instance.objects.create(uuid=settings.SYSTEM_UUID, hostname="instance.example.org", capacity=100)
@pytest.fixture
def organization(instance):