out = subprocess.check_output("sos status {} -c docker.yml -q docker".format(tasks), shell=True).decode()
self.assertGreater(out.count("running"), 1)
// local should all be pending but we might have results from before
subprocess.call("cd ~/.sos/tasks; rm -f {}".format(" ".join(x+".res" for x in res["pending_tasks"])), shell=True)
// wait another 20 seconds?
time.sleep(10)
out = subprocess.check_output("sos status {} -c docker.yml -q docker".format(tasks), shell=True).decode()