Skip to content
This repository has been archived by the owner on Sep 12, 2022. It is now read-only.

Commit

Permalink
Remove reference to non-existent Allocation model
Browse files Browse the repository at this point in the history
  • Loading branch information
cdosborn committed Sep 7, 2018
1 parent 9297e08 commit d98ec0d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions core/tests/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
for Core objects
"""
from core.models import (
Allocation, Application, ApplicationVersion,
Application, ApplicationVersion,
AtmosphereUser, Group,
Identity, IdentityMembership,
Instance, InstanceSource, InstanceStatusHistory,
Expand Down Expand Up @@ -45,10 +45,8 @@ def _new_mock_identity_member(username, provider):
created_by=mock_user,
quota=mock_quota,
provider=provider)[0]
mock_allocation = Allocation.default_allocation()
mock_identity_member = IdentityMembership.objects.get_or_create(
identity=mock_identity, member=mock_group,
allocation=mock_allocation)[0]
identity=mock_identity, member=mock_group)[0]
return mock_identity_member


Expand Down

0 comments on commit d98ec0d

Please sign in to comment.