File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -722,7 +722,9 @@ def test_create_task_with_file_pattern(
722
722
)
723
723
request .addfinalizer (
724
724
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 } " ,
726
728
)
727
729
)
728
730
@@ -737,7 +739,7 @@ def test_create_task_with_file_pattern(
737
739
"-it" ,
738
740
"--rm" ,
739
741
"-u" ,
740
- "django:django " ,
742
+ "root:root " ,
741
743
"-v" ,
742
744
f"{ tmp_dir } :/local" ,
743
745
"--entrypoint" ,
@@ -749,6 +751,8 @@ def test_create_task_with_file_pattern(
749
751
"/local" ,
750
752
]
751
753
try :
754
+ result = subprocess .run ('docker image ls | grep cvat/server' , stdout = subprocess .PIPE , shell = True )
755
+ print ('result: ' , result )
752
756
subprocess .check_output (command )
753
757
except subprocess .CalledProcessError as ex :
754
758
print (ex .returncode )
You can’t perform that action at this time.
0 commit comments