mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 21:42:14 +00:00
14 lines
335 B
Python
14 lines
335 B
Python
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())
|