Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions slvideotools/test_cli.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Tests to check that the command line interface commands are at least present and loading all the libraries
import os


def test_cli_extract_face_bounds():
exit_status = os.system('python -m slvideotools.extract_face_bounds --help')
assert exit_status == 0


def test_cli_crop_video():
exit_status = os.system('python -m slvideotools.crop_video --help')
assert exit_status == 0


def test_cli_extract_face_data():
exit_status = os.system('python -m slvideotools.extract_face_data --help')
assert exit_status == 0


def test_cli_trim_video():
exit_status = os.system('python -m slvideotools.trim_video --help')
assert exit_status == 0