Skip to content

Commit b41e8d2

Browse files
authored
Merge pull request #44 from Alinvor/kernel
[DONE]合并分支
2 parents 3ac0c5e + cf288e6 commit b41e8d2

4 files changed

Lines changed: 8 additions & 17 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ venv.bak/
108108

109109
# vscode files
110110
.vscode/
111-
.vscode/settings.json
111+
# .vscode/settings.json
112112

113113
# IDEA files
114114
.idea/

.vscode/launch.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

template/template_case.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,7 @@ def tearDownClass(cls):
3232

3333

3434
if __name__ == '__main__':
35+
''' the unittest suite '''
36+
suite = unittest.TestLoader().loadTestsFromTestCase(Test_Demo)
37+
unittest.TextTestRunner(verbosity=2).run(suite)
3538
unittest.main()

template/test_template.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,7 @@ def tearDownClass(cls):
2828

2929

3030
if __name__ == '__main__':
31-
unittest.main()
31+
''' the unittest suite '''
32+
suite = unittest.TestLoader().loadTestsFromTestCase(Test_XXX)
33+
unittest.TextTestRunner(verbosity=2).run(suite)
34+
# unittest.main()

0 commit comments

Comments
 (0)