Files
scylladb/test/pylib_test/run
Petr Gusev 7476e91d67 pytest: add pylib_test directory
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.
2023-05-05 12:57:43 +04:00

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)