Skip to content

Commit 69a1d28

Browse files
committed
Remove PYTHONPATH from tests
Tests now assume that the caller either uses a tox environment or runs tests with a correct PYTHONPATH. Closes: #148 Signed-off-by: Christian Heimes <[email protected]>
1 parent a8801ab commit 69a1d28

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

tests/test_cli.py

-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ def find_free_address():
4141
class TestsCommandLine(unittest.TestCase):
4242
def _custodia_cli(self, *args):
4343
env = os.environ.copy()
44-
env['PYTHONPATH'] = './'
4544
pexec = env.get('CUSTODIAPYTHON', sys.executable)
4645
cli = [
4746
pexec,

tests/test_custodia.py

-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@ class CustodiaTests(unittest.TestCase):
176176
@classmethod
177177
def setUpClass(cls):
178178
env = os.environ.copy()
179-
env['PYTHONPATH'] = './'
180179
cls.pexec = env.get('CUSTODIAPYTHON', sys.executable)
181180

182181
if os.path.isdir(cls.test_dir):

0 commit comments

Comments
 (0)