FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python_koans/python2/_runner_tests.py at master · kolapsys/python_koans · GitHub
kolapsys
/
python_koans
Public
forked from
gregmalcolm/python_koans
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
python_koans
/
python2
/
_runner_tests.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
26 lines (20 loc) · 984 Bytes
Breadcrumbs
python_koans
/
python2
/
_runner_tests.py
Copy path
File metadata and controls
26 lines (20 loc) · 984 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import
sys
import
unittest
from
runner
.
runner_tests
.
test_mountain
import
TestMountain
from
runner
.
runner_tests
.
test_sensei
import
TestSensei
from
runner
.
runner_tests
.
test_helper
import
TestHelper
from
runner
.
runner_tests
.
test_path_to_enlightenment
import
TestFilterKoanNames
from
runner
.
runner_tests
.
test_path_to_enlightenment
import
TestKoansSuite
def
suite
():
suite
=
unittest
.
TestSuite
()
suite
.
addTests
(
unittest
.
TestLoader
().
loadTestsFromTestCase
(
TestMountain
))
suite
.
addTests
(
unittest
.
TestLoader
().
loadTestsFromTestCase
(
TestSensei
))
suite
.
addTests
(
unittest
.
TestLoader
().
loadTestsFromTestCase
(
TestHelper
))
suite
.
addTests
(
unittest
.
TestLoader
().
loadTestsFromTestCase
(
TestFilterKoanNames
))
suite
.
addTests
(
unittest
.
TestLoader
().
loadTestsFromTestCase
(
TestKoansSuite
))
return
suite
if
__name__
==
'__main__'
:
res
=
unittest
.
TextTestRunner
(
verbosity
=
2
).
run
(
suite
())
sys
.
exit
(
not
res
.
wasSuccessful
())
Back
|
FazBrowse Home
|
New Git URL