mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-21 19:30:03 +02:00
18 lines
445 B
Python
Executable File
18 lines
445 B
Python
Executable File
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
"""
|
|
General tests for the Jungfrau detector.
|
|
|
|
NOTE! Uses hostnames from config_test
|
|
"""
|
|
|
|
import pytest
|
|
import config_test
|
|
import tests
|
|
|
|
import os
|
|
dir_path = os.path.dirname(os.path.realpath(__file__))
|
|
|
|
pytest.main(['-x', '-s', os.path.join(dir_path, 'tests/test_load_config.py')]) #Test 1
|
|
pytest.main(['-x', '-s', os.path.join(dir_path, 'tests/test_overtemperature.py')]) #Test 2
|