Skip to content

Commit fd36c18

Browse files
committed
Add support for extra output to tests
1 parent f204ca2 commit fd36c18

File tree

5 files changed

+9
-0
lines changed

5 files changed

+9
-0
lines changed

test/add_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ def test_add(mbed, testrepos):
2020
popen(['python', mbed, 'add', test3, "-vv"])
2121

2222
assertls(mbed, 'test1', [
23+
"*",
2324
"test1",
2425
"|- test2",
2526
"| `- test3",
@@ -37,6 +38,7 @@ def test_import_after_add(mbed, testrepos):
3738
popen(['python', mbed, 'import', test1, 'testimport', "-vv"])
3839

3940
assertls(mbed, 'testimport', [
41+
"*",
4042
"testimport",
4143
"|- test2",
4244
"| `- test3",

test/import_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ def test_import(mbed, testrepos):
1818
popen(['python', mbed, 'import', test1, 'testimport'])
1919

2020
assertls(mbed, 'testimport', [
21+
"*",
2122
"testimport",
2223
"`- test2",
2324
" `- test3",

test/ls_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
# Tests 'mbed ls' and provides sanity check of test framework
1616
def test_ls(mbed, testrepos):
1717
assertls(mbed, 'test1', [
18+
"*",
1819
"test1",
1920
"`- test2",
2021
" `- test3",

test/remove_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ def test_remove(mbed, testrepos):
1818
popen(['python', mbed, 'remove', 'test2'])
1919

2020
assertls(mbed, 'test1', [
21+
"*",
2122
"test1",
2223
])
2324

@@ -30,5 +31,6 @@ def test_import_after_remove(mbed, testrepos):
3031
popen(['python', mbed, 'import', test1, 'testimport'])
3132

3233
assertls(mbed, 'testimport', [
34+
"*",
3335
"testimport",
3436
])

test/sync_update_test.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ def test_sync_update_remove(mbed, testrepos):
5151
popen(['python', mbed, 'update', '-vv'])
5252

5353
assertls(mbed, 'testimport', [
54+
"*",
5455
"testimport",
5556
"`- test2",
5657
])
@@ -73,6 +74,7 @@ def test_sync_update_add(mbed, testrepos):
7374
popen(['python', mbed, 'update', '-vv'])
7475

7576
assertls(mbed, 'testimport', [
77+
"*",
7678
"testimport",
7779
"`- test2",
7880
" |- test3",
@@ -99,6 +101,7 @@ def test_sync_update_move(mbed, testrepos):
99101
popen(['python', mbed, 'update', '-vv'])
100102

101103
assertls(mbed, 'testimport', [
104+
"*",
102105
"testimport",
103106
"`- test2",
104107
" `- testmove",

0 commit comments

Comments
 (0)