mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-23 16:32:15 +00:00
Move user/group setup into new generateSampleUserData command
This commit is contained in:
@@ -1,7 +1,13 @@
|
||||
from RIGS import models
|
||||
import pytest
|
||||
from django.utils import timezone
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def vat_rate(db):
|
||||
return models.VatRate.objects.create(start_at='2014-03-05', rate=0.20, comment='test1')
|
||||
|
||||
|
||||
@pytest.fixture()
|
||||
def basic_event(db):
|
||||
return models.Event.objects.create(name="TE E1", start_date=timezone.now())
|
||||
|
||||
Reference in New Issue
Block a user