mirror of
https://github.com/ansible/awx.git
synced 2026-02-15 18:20:00 -03:30
Support expiring of capacity if a node is down
For a certain amount of time
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user