Skip to content

Commit b0a283a

Browse files
committed
Added CLI tests.
1 parent 42ae880 commit b0a283a

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

dfki_sl_videotools/test_cli.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#
2+
# Tests to check that the command line interface commands are at least present and loading all the libraries
3+
import os
4+
5+
6+
def test_cli_extract_face_bounds():
7+
exit_status = os.system('python -m dfki_sl_videotools.extract_face_bounds --help')
8+
assert exit_status == 0
9+
10+
11+
def test_cli_crop_video():
12+
exit_status = os.system('python -m dfki_sl_videotools.crop_video --help')
13+
assert exit_status == 0
14+
15+
16+
def test_cli_extract_face_data():
17+
exit_status = os.system('python -m dfki_sl_videotools.extract_face_data --help')
18+
assert exit_status == 0
19+
20+
21+
def test_cli_trim_video():
22+
exit_status = os.system('python -m dfki_sl_videotools.trim_video --help')
23+
assert exit_status == 0
24+

0 commit comments

Comments
 (0)