From fb6dd42f5b369095a91b09bb4ab4fc95e9b3d3ff Mon Sep 17 00:00:00 2001 From: Marc Aymerich Date: Fri, 1 May 2015 18:06:05 +0000 Subject: [PATCH] Removed test --- orchestra/contrib/settings/admin.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/orchestra/contrib/settings/admin.py b/orchestra/contrib/settings/admin.py index 6abe4672..cadff94c 100644 --- a/orchestra/contrib/settings/admin.py +++ b/orchestra/contrib/settings/admin.py @@ -91,16 +91,6 @@ class SettingFileView(generic.TemplateView): template_name = 'admin/settings/view.html' def get_context_data(self, **kwargs): - from orchestra.contrib.tasks import shared_task - import time - @shared_task(name='rata') - def counter(num, log): - for i in range(1, num): - with open(log, 'a') as handler: - handler.write(str(i)) - time.sleep(1) - counter.apply_async(10, '/tmp/kakas') - context = super(SettingFileView, self).get_context_data(**kwargs) settings_file = parser.get_settings_file() with open(settings_file, 'r') as handler: