test_table_integrity.py 566 B

123456789101112131415
  1. """
  2. Executes verify-table-integrity.py as a unit test.
  3. """
  4. import os
  5. import sys
  6. import subprocess
  7. import pytest
  8. @pytest.mark.skipif(sys.version_info[:2] != (3, 12), reason='Test only with a single version of python')
  9. def test_verify_table_integrity():
  10. subprocess.check_output([sys.executable, os.path.join(os.path.dirname(__file__),
  11. os.path.pardir,
  12. 'bin',
  13. 'verify-table-integrity.py')])