adding vars for settings in execution time

This commit is contained in:
Cayo Puigdefabregas 2021-02-16 23:25:07 +01:00
parent 20e9c14524
commit e7c037ce72
1 changed files with 4 additions and 1 deletions

View File

@ -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)