django1/tests/regressiontests/initial_sql_regress/tests.py

9 lines
179 B
Python
Raw Normal View History

from django.test import TestCase
from models import Simple
class InitialSQLTests(TestCase):
def test_initial_sql(self):
self.assertEqual(Simple.objects.count(), 7)