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 b40af24 commit 7cce69bCopy full SHA for 7cce69b
tests/python/rest_api/test_tasks.py
@@ -749,16 +749,7 @@ def test_create_task_with_file_pattern(
749
"/local",
750
751
]
752
- try:
753
- result = subprocess.run(
754
- "docker image ls | grep cvat/server", stdout=subprocess.PIPE, shell=True
755
- )
756
- print("result: ", result)
757
- subprocess.check_output(command)
758
- except subprocess.CalledProcessError as ex:
759
- print(ex.returncode)
760
- print(ex.output)
761
- raise
+ subprocess.run(command, check=True)
762
with open(osp.join(tmp_dir, "manifest.jsonl"), mode="rb") as m_file:
763
s3_client.create_file(
764
data=m_file.read(),
0 commit comments