Skip to content
Snippets Groups Projects

Execute docker tasks in RQ

Merged Valentin Rigal requested to merge dummy-tasks into community
Compare and
15 files
+ 197
4
Compare changes
  • Side-by-side
  • Inline
Files
15
@@ -64,7 +64,8 @@ class TestAPI(FixtureAPITestCase):
)
cls.rev = Revision.objects.first()
cls.process = Process.objects.get(mode=ProcessMode.Workers)
cls.process.run()
with patch("arkindex.project.triggers.schedule_tasks", lambda *x: None):
cls.process.run()
cls.task1, cls.task2, cls.task3 = cls.process.tasks.all()
# Brand new user and corpus with no preexisting rights
Loading