From e7c037ce72d664eefb82622c9e6eba500d4e79fc Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Tue, 16 Feb 2021 23:25:07 +0100 Subject: [PATCH] adding vars for settings in execution time --- orchestra/contrib/lists/tests/functional_tests/tests.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/orchestra/contrib/lists/tests/functional_tests/tests.py b/orchestra/contrib/lists/tests/functional_tests/tests.py index 133ab858..87a3a679 100644 --- a/orchestra/contrib/lists/tests/functional_tests/tests.py +++ b/orchestra/contrib/lists/tests/functional_tests/tests.py @@ -31,8 +31,11 @@ class ListMixin(object): def setUp(self): super(ListMixin, self).setUp() - self.add_route() djsettings.DEBUG = True + djsettings.CELERY_ALWAYS_EAGER = True + djsettings.CELERY_TASK_ALWAYS_EAGER = True + # import pdb; pdb.set_trace() + self.add_route() def validate_add(self, name, address=None): sshrun(self.MASTER_SERVER, 'list_members %s' % name, display=False)