django-mergeobject-experime.../tests/tests.py
2015-05-28 00:21:15 -04:00

9 lines
272 B
Python

from django.test import TestCase
from .models import Person, Number, SSN
def setUp():
a = Person.objects.create(name='alf')
b = Person.objects.create(name='bee')
Number.objects.create(person=a, number='123')
Number.objects.create(person=a, number='1234')