Skip to content

Commit

Permalink
revert debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Marishka17 committed Dec 23, 2022
1 parent b40af24 commit acdf9c5
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions tests/python/rest_api/test_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ def test_create_task_with_file_pattern(
"run",
"--rm",
"-u",
"root:root",
"django:django",
"-v",
f"{tmp_dir}:/local",
"--entrypoint",
Expand All @@ -749,16 +749,7 @@ def test_create_task_with_file_pattern(
"/local",
"/local",
]
try:
result = subprocess.run(
"docker image ls | grep cvat/server", stdout=subprocess.PIPE, shell=True
)
print("result: ", result)
subprocess.check_output(command)
except subprocess.CalledProcessError as ex:
print(ex.returncode)
print(ex.output)
raise
subprocess.run(command, check=True, stdout=subprocess.DEVNULL)
with open(osp.join(tmp_dir, "manifest.jsonl"), mode="rb") as m_file:
s3_client.create_file(
data=m_file.read(),
Expand Down

0 comments on commit acdf9c5

Please sign in to comment.