Skip to content

Commit

Permalink
Add hack to add in root path to python paths
Browse files Browse the repository at this point in the history
(cherry picked from commit 1068c41)
  • Loading branch information
Ebag333 committed Mar 24, 2017
1 parent 403b396 commit 75df133
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/test_smoketests/helpers.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# noinspection PyPackageRequirements
import pytest

import os
import sys

script_dir = os.path.dirname(os.path.abspath(__file__))
# Add root folder to python paths
sys.path.append(os.path.realpath(os.path.join(script_dir, '..', '..')))


# noinspection PyUnresolvedReferences,PyUnusedLocal
@pytest.fixture
Expand Down

0 comments on commit 75df133

Please sign in to comment.