mirror of
https://github.com/rancher/os.git
synced 2025-09-08 10:11:46 +00:00
rename tests package to rostest
This commit is contained in:
11
tests/integration/rostest/conftest.py
Normal file
11
tests/integration/rostest/conftest.py
Normal file
@@ -0,0 +1,11 @@
|
||||
import os
|
||||
import pytest
|
||||
import subprocess
|
||||
|
||||
|
||||
@pytest.fixture(scope="session", autouse=True)
|
||||
def chdir_to_project_root():
|
||||
os.chdir('../..')
|
||||
print('\nChdir to project root dir: ' + subprocess.check_output('pwd'))
|
||||
os.chmod('./tests/integration/assets/test.key', 0o600)
|
||||
print('Also, `chmod 600 tests/integration/assets/test.key` to make ssh happy')
|
Reference in New Issue
Block a user