1
0
mirror of https://github.com/django/django.git synced 2025-10-26 07:06:08 +00:00

Fixed #20603 -- Made the test suite faster.

By avoiding to run syncdb with the full set of test models.

Thanks Anssi for the idea.
This commit is contained in:
Aymeric Augustin
2013-06-14 23:11:51 +02:00
parent f656757888
commit c3df866619
4 changed files with 22 additions and 2 deletions

View File

@@ -55,6 +55,11 @@ signals.pre_syncdb.connect(pre_syncdb_receiver, sender=models)
class SyncdbSignalTests(TestCase):
available_apps = [
'syncdb_signals',
]
def test_pre_syncdb_call_time(self):
self.assertEqual(pre_syncdb_receiver.call_counter, 1)