@@ -33,11 +33,15 @@ def test_get_docker_org(self):
3333 "aswftesting" ,
3434 )
3535 self .assertEqual (
36- utils .get_docker_org ("https://github.com/randomfork/aswf-docker" , "refs/heads/main" ),
36+ utils .get_docker_org (
37+ "https://github.com/randomfork/aswf-docker" , "refs/heads/main"
38+ ),
3739 "aswflocaltesting" ,
3840 )
3941 self .assertEqual (
40- utils .get_docker_org ("https://github.com/randomfork/aswf-docker" , "refs/heads/randombranch" ),
42+ utils .get_docker_org (
43+ "https://github.com/randomfork/aswf-docker" , "refs/heads/randombranch"
44+ ),
4145 "aswflocaltesting" ,
4246 )
4347
@@ -55,8 +59,16 @@ def test_get_docker_push(self):
5559 "refs/heads/testing" ,
5660 )
5761 )
58- self .assertFalse (utils .get_docker_push ("https://github.com/randomfork/aswf-docker" , "refs/heads/main" ))
59- self .assertFalse (utils .get_docker_push ("https://github.com/randomfork/aswf-docker" , "refs/heads/randombranch" ))
62+ self .assertFalse (
63+ utils .get_docker_push (
64+ "https://github.com/randomfork/aswf-docker" , "refs/heads/main"
65+ )
66+ )
67+ self .assertFalse (
68+ utils .get_docker_push (
69+ "https://github.com/randomfork/aswf-docker" , "refs/heads/randombranch"
70+ )
71+ )
6072
6173 def test_image_def_from_name (self ):
6274 with self .assertRaises (RuntimeError ):
@@ -142,7 +154,9 @@ def test_cli_packages(self):
142154 self .assertEqual (result .exit_code , 0 )
143155 pkgs = result .output .split ("\n " )
144156 self .assertGreater (len (pkgs ), 20 )
145- clang_version = list (index .Index ().iter_versions (constants .ImageType .PACKAGE , "openssl" ))[0 ]
157+ clang_version = list (
158+ index .Index ().iter_versions (constants .ImageType .PACKAGE , "openssl" )
159+ )[0 ]
146160 self .assertEqual (
147161 pkgs [0 ],
148162 f"common-wrappers/ci-package-openssl:{ clang_version } " ,
@@ -154,7 +168,9 @@ def test_cli_images(self):
154168 self .assertEqual (result .exit_code , 0 )
155169 imgs = result .output .split ("\n " )
156170 self .assertGreater (len (imgs ), 15 )
157- baseos_gl_conan_version = list (index .Index ().iter_versions (constants .ImageType .IMAGE , "baseos-gl-conan" ))[0 ]
171+ baseos_gl_conan_version = list (
172+ index .Index ().iter_versions (constants .ImageType .IMAGE , "baseos-gl-conan" )
173+ )[0 ]
158174 self .assertEqual (
159175 imgs [0 ],
160176 f"baseos-gl-conan/ci-baseos-gl-conan:{ baseos_gl_conan_version } " ,
0 commit comments