We want to add tests for read_last_line, in this commit we add a new directory for them since there were no tests for pylib code before.
12 lines
293 B
Python
Executable File
12 lines
293 B
Python
Executable File
#!/usr/bin/env python3
|
|
# Use the run.py library from ../cql-pytest:
|
|
import sys
|
|
sys.path.insert(1, sys.path[0] + '/../cql-pytest')
|
|
import run
|
|
|
|
success = run.run_pytest(sys.path[0], sys.argv[1:])
|
|
|
|
run.summary = 'Pylib tests pass' if success else 'Pylib tests failure'
|
|
|
|
exit(0 if success else 1)
|