lostplaces-backend/lostplaces/lostplaces_app/tests/__init__.py
Leonhard Strohmidel baca596603 sync
2020-09-11 23:07:19 +02:00

11 lines
268 B
Python

from django.test import TestCase
from django.contrib.auth.models import User
class BaseData(TestCase):
@classmethod
def setUpTestData(cls):
User.objects.create_user(
username='testpeter',
password='Develop123'
).save()