Skip to content

Commit ba7a7d1

Browse files
committed
Update comments in PyTest suite.
Signed-off-by: Petr "Stone" Hracek <[email protected]>
1 parent 485bdf7 commit ba7a7d1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

test/test_container_httpd_s2i.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ def teardown_method(self):
8989

9090
def test_cert_age(self):
9191
"""
92-
This tests checks whether the certificate was freshly generated after the image
9392
We need to make sure the certificate is generated no sooner than in assemble phase,
9493
because shipping the same certs in the image would make it easy to exploit
9594
Let's see how old the certificate is and compare with how old the image is
@@ -137,9 +136,9 @@ def teardown_method(self):
137136

138137
def test_self_cert_test(self):
139138
"""
140-
Test s2i use case #3 - using own ssl certs
141-
Since we built the candidate image locally, we don't want S2I attempt to pull
142-
it from Docker hub
139+
Test s2i use case #3 - using own ssl certs
140+
Since we built the candidate image locally, we don't want S2I attempt to pull
141+
it from Docker hub
143142
"""
144143
self.s2i_app.set_new_image(image_name=f"{IMAGE_NAME}-{self.s2i_app.app_name}")
145144
assert self.s2i_app.create_container(cid_file_name=self.s2i_app.app_name, container_args="--user 1000")

0 commit comments

Comments
 (0)