parent
819e13481e
commit
6443582c0e
5 changed files with 87 additions and 12 deletions
|
|
@ -3,6 +3,7 @@ import base64
|
|||
import pytest
|
||||
|
||||
from servala.core.models import (
|
||||
BillingEntity,
|
||||
Organization,
|
||||
OrganizationMembership,
|
||||
OrganizationOrigin,
|
||||
|
|
@ -21,6 +22,11 @@ def origin():
|
|||
return OrganizationOrigin.objects.create(name="TESTORIGIN")
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def billing_entity():
|
||||
return BillingEntity.objects.create(name="Test Entity")
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def organization(origin):
|
||||
return Organization.objects.create(name="Test Org", origin=origin)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue