Just enough infrastructure to get tests to pass as standalone app

This commit is contained in:
Scot Hacker 2018-03-29 23:05:49 -07:00
parent d3d8d5e46c
commit ff49d5cba2
9 changed files with 307 additions and 5 deletions

View file

@ -5,7 +5,7 @@ from django.db import migrations
class Migration(migrations.Migration):
atomic = False
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('todo', '0005_auto_20180212_2325'),

1
todo/templates/base.html Normal file
View file

@ -0,0 +1 @@
This file not actually used by django-todo - here to satisfy the test runner.

View file

@ -5,6 +5,7 @@ from django.contrib.auth.models import Group
from todo.models import Task, TaskList
@pytest.fixture
def todo_setup(django_user_model):
# Two groups with different users, two sets of tasks.