Skip to content

Commit d9ebfd2

Browse files
committed
d
1 parent d619b97 commit d9ebfd2

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tests/python/rest_api/test_tasks.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,9 @@ def test_create_task_with_file_pattern(
722722
)
723723
request.addfinalizer(
724724
partial(
725-
s3_client.remove_file, bucket=cloud_storage["resource"], filename=f"{'test/sub/' if sub_dir else ''}{image.name}"
725+
s3_client.remove_file,
726+
bucket=cloud_storage["resource"],
727+
filename=f"{'test/sub/' if sub_dir else ''}{image.name}",
726728
)
727729
)
728730

@@ -737,7 +739,7 @@ def test_create_task_with_file_pattern(
737739
"-it",
738740
"--rm",
739741
"-u",
740-
"django:django",
742+
"root:root",
741743
"-v",
742744
f"{tmp_dir}:/local",
743745
"--entrypoint",
@@ -749,6 +751,8 @@ def test_create_task_with_file_pattern(
749751
"/local",
750752
]
751753
try:
754+
result = subprocess.run('docker image ls | grep cvat/server', stdout=subprocess.PIPE, shell=True)
755+
print('result: ', result)
752756
subprocess.check_output(command)
753757
except subprocess.CalledProcessError as ex:
754758
print(ex.returncode)

0 commit comments

Comments
 (0)