*: ensure unittests wait on tasks

This commit is contained in:
Jens Langhammer
2020-10-16 14:53:14 +02:00
parent 7154f19668
commit 3b9524cdfc
5 changed files with 7 additions and 7 deletions

View File

@ -48,4 +48,4 @@ class LDAPSyncTests(TestCase):
@patch("passbook.sources.ldap.models.LDAPSource.connection", LDAP_CONNECTION_PATCH)
def test_tasks(self):
"""Test Scheduled tasks"""
ldap_sync_all.delay()
ldap_sync_all.delay().get()