From ff9511593e8fc61f8a68e7b3b2fba82c7e40d6a6 Mon Sep 17 00:00:00 2001 From: wwx913452 Date: Thu, 21 May 2020 19:44:59 +0800 Subject: [PATCH] modified path to fix testcase --- tests/integration/test_cmdline_integration.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/integration/test_cmdline_integration.py b/tests/integration/test_cmdline_integration.py index 04d8e46..e99831f 100644 --- a/tests/integration/test_cmdline_integration.py +++ b/tests/integration/test_cmdline_integration.py @@ -5,6 +5,7 @@ from pytest_shutil import cmdline def test_chdir(): here = os.getcwd() + bindir=os.path.realpath('/bin') with cmdline.chdir('/bin'): - assert os.getcwd() == '/bin' + assert os.getcwd() == bindir assert os.getcwd() == here -- 2.23.0