mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Converted initial_sql_regress tests from doctests (sort of...) to unittests. We have always been at war with doctests.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14179 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
8
tests/regressiontests/initial_sql_regress/tests.py
Normal file
8
tests/regressiontests/initial_sql_regress/tests.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from django.test import TestCase
|
||||
|
||||
from models import Simple
|
||||
|
||||
|
||||
class InitialSQLTests(TestCase):
|
||||
def test_initial_sql(self):
|
||||
self.assertEqual(Simple.objects.count(), 7)
|
||||
Reference in New Issue
Block a user