From 861f7d355f2b42b02d00906cbb63351cbc5d0146 Mon Sep 17 00:00:00 2001 From: Bruno Wagner Date: Wed, 12 Aug 2015 17:21:28 -0300 Subject: [tests] added inlineCallbacks to test with yield test_db_sync_autocreate was using yield but didn't have the inlineCallbacks decorator, that made it a generator but the trial tests don't support generators. Fixed this --- common/src/leap/soledad/common/tests/test_sync.py | 1 + 1 file changed, 1 insertion(+) (limited to 'common') diff --git a/common/src/leap/soledad/common/tests/test_sync.py b/common/src/leap/soledad/common/tests/test_sync.py index 53dd923b..bb98db8c 100644 --- a/common/src/leap/soledad/common/tests/test_sync.py +++ b/common/src/leap/soledad/common/tests/test_sync.py @@ -235,6 +235,7 @@ class TestSoledadDbSync( self.assertGetEncryptedDoc( self.db, doc2.doc_id, doc2.rev, tests.nested_doc, False) + @defer.inlineCallbacks def test_db_sync_autocreate(self): """ Test sync. -- cgit v1.2.3