1
0
mirror of https://github.com/rancher/os.git synced 2025-09-03 15:54:24 +00:00

integration tests: use session and module fixtures

This commit is contained in:
Ivan Mikushin
2015-05-07 19:49:54 +05:00
parent e4f04c698f
commit 38d67b20d1
2 changed files with 28 additions and 16 deletions

View File

@@ -0,0 +1,8 @@
import os
import pytest
@pytest.fixture(scope="session", autouse=True)
def my_own_session_run_at_beginning():
os.chdir('../..')
print('\nChdir to project root dir')