mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-13 13:27:14 +02:00
merging refactor (replacing)
This commit is contained in:
17
python/simple-integration-tests/jungfrau_0_6/test_main.py
Executable file
17
python/simple-integration-tests/jungfrau_0_6/test_main.py
Executable file
@ -0,0 +1,17 @@
|
||||
#!/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
|
Reference in New Issue
Block a user