File tree Expand file tree Collapse file tree 2 files changed +20
-4
lines changed Expand file tree Collapse file tree 2 files changed +20
-4
lines changed Original file line number Diff line number Diff line change
1
+ language : python
2
+
3
+ python :
4
+ - 2.7
5
+ script :
6
+ - cd python2
7
+ - python contemplate_koans.py about_asserts # add further koans here separated by spaces
8
+ notifications :
9
+ email : false
10
+
11
+ # Some other koans (see runner/sensei.py or "ls koans" to see the light):
12
+ #
13
+ # about_none about_lists about_list_assignments about_dictionaries
14
+ # about_strings about_tuples about_methods about_control_statements
15
+ # about_true_and_false about_sets ...
Original file line number Diff line number Diff line change @@ -18,8 +18,9 @@ def walk_the_path(self, args=None):
18
18
"Run the koans tests with a custom runner output."
19
19
20
20
if args and len (args ) >= 2 :
21
- self .tests = unittest .TestLoader ().loadTestsFromName ("koans." + args [1 ])
22
-
23
- self .tests (self .lesson )
24
- self .lesson .learn ()
21
+ args .pop (0 )
22
+ for arg in args :
23
+ self .tests = unittest .TestLoader ().loadTestsFromName ("koans." + arg )
24
+ self .tests (self .lesson )
25
+ self .lesson .learn ()
25
26
return self .lesson
You can’t perform that action at this time.
0 commit comments