Adds Tynd envs for Travis

and fixes timeout tests
This commit is contained in:
Ilan Steemers
2015-09-04 15:16:30 +02:00
parent e76e65640b
commit 3524ad2dee
2 changed files with 13 additions and 1 deletions
+8
View File
@@ -1,3 +1,6 @@
from time import sleep
def countdown(n):
while n > 0:
n -= 1
@@ -22,6 +25,11 @@ def word_multiply(x, word=''):
return len(word) * x
def count_forever():
while True:
sleep(0.5)
def get_task_name(task):
return task.name