We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19f0da0 commit 9ccc715Copy full SHA for 9ccc715
test/unit/test_model_server.py
@@ -178,9 +178,9 @@ def test_adapt_to_ts_format_existing_path(
178
def test_set_existing_python_path():
179
torchserve._set_python_path()
180
181
- code_dir_path = "{}:".format(environment.code_dir)
+ code_dir_path = "{}:{}".format(environment.code_dir, PYTHON_PATH)
182
183
- assert os.environ[torchserve.PYTHON_PATH_ENV] == code_dir_path + PYTHON_PATH
+ assert os.environ[torchserve.PYTHON_PATH_ENV] == code_dir_path
184
185
186
@patch.dict(os.environ, {}, clear=True)
0 commit comments