Skip to content

Commit 62b8b02

Browse files
qwes5s5K11OntheBoatEmmonsCurse
authored
fix_unitest (#4159)
Co-authored-by: K11OntheBoat <[email protected]> Co-authored-by: YuBaoku <[email protected]>
1 parent 98447be commit 62b8b02

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/entrypoints/cli/test_collect_env_script.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,7 @@ def test_main_with_collect(self):
477477
with (
478478
patch("sys.stdout", new=captured_output),
479479
patch("fastdeploy.collect_env.torch", create=True, __version__="1.0.0"),
480+
patch("fastdeploy.collect_env.hasattr", return_value=False),
480481
):
481482
collect_env.main()
482483
output = captured_output.getvalue()

0 commit comments

Comments
 (0)