Skip to content

Commit bb0acc5

Browse files
committed
Fix Unit tests
1 parent 8e6d29d commit bb0acc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/test_model_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def test_adapt_to_ts_format(path_exists, make_dir, subprocess_check_call, set_py
150150
"--export-path",
151151
torchserve.DEFAULT_TS_MODEL_DIRECTORY,
152152
"--extra-files",
153-
os.path.join(environment.model_dir, environment.Environment().module_name + ".py"),
153+
os.path.join(environment.model_dir, torchserve.DEFAULT_TS_CODE_DIR, environment.Environment().module_name + ".py"),
154154
"--version",
155155
"1",
156156
]

0 commit comments

Comments
 (0)