Skip to content

Commit

Permalink
Update test_env.py
Browse files Browse the repository at this point in the history
  • Loading branch information
xisen-w authored Jul 10, 2024
1 parent 6f068dd commit 503fb13
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/utils/test_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,7 @@ def tearDown(self):
print("It is running the prepare()")
qtde.prepare()
qtde.prepare() # you can prepare for multiple times. It is expected to handle it correctly
# the stdout are returned as result
# result = qtde.run(local_path=str(DIRNAME / "env_tpl"), entry="qrun conf_mlp.yaml", env={"PYTHONPATH": "/workspace/"})
result = qtde.run(local_path=str(DIRNAME / "env_tpl"), entry="rm -r mlruns", env={"PYTHONPATH": "./"})
# result = qtde.run(local_path=str(DIRNAME / "env_tpl"), entry="ls")
result = qtde.run(local_path=str(DIRNAME / "env_tpl"), entry="rm -r mlruns", env={"PYTHONPATH": "./"}) #Removing

# NOTE: Since I don't know the exact environment in which it will be used, here's just an example.
# NOTE: Because you need to download the data during the prepare process. So you need to have pyqlib in your environment.
Expand Down

0 comments on commit 503fb13

Please sign in to comment.