forked from CGM_Public/pretix_original
Remove dead test fixtures (#1284)
This commit is contained in:
committed by
Raphael Michel
parent
4e9e925b32
commit
a10b31cacb
@@ -5,7 +5,7 @@ from django.core import mail as djmail
|
||||
from django.utils.timezone import now
|
||||
|
||||
from pretix.base.models import (
|
||||
Event, Item, ItemCategory, Order, OrderPosition, Organizer, Team, User,
|
||||
Event, Item, Order, OrderPosition, Organizer, Team, User,
|
||||
)
|
||||
|
||||
|
||||
@@ -27,12 +27,6 @@ def item(event):
|
||||
return Item.objects.create(name='Test item', event=event, default_price=13)
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def item_category(event):
|
||||
"""Returns an item category instance"""
|
||||
return ItemCategory.objects.create(event=event)
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def order(item):
|
||||
"""Returns an order instance"""
|
||||
|
||||
Reference in New Issue
Block a user