init
This commit is contained in:
10
course/tests.py
Normal file
10
course/tests.py
Normal file
@ -0,0 +1,10 @@
|
||||
from django.test import TestCase
|
||||
from django.utils import timezone
|
||||
from .models import Course
|
||||
|
||||
class CourseModelTest(TestCase):
|
||||
def setUp(self):
|
||||
self.course = Course.objects.create(
|
||||
title="Тестовый курс",
|
||||
description="Описание тестового курса"
|
||||
)
|
Reference in New Issue
Block a user