diff --git a/t_sites/test_tempesta_tech.py b/t_sites/test_tempesta_tech.py index b1c959327..86ea20300 100644 --- a/t_sites/test_tempesta_tech.py +++ b/t_sites/test_tempesta_tech.py @@ -446,7 +446,13 @@ def test_blog_post_flow(self): # Obtain nonce nonce = self.get_nonce() - # Publish new blog post + # Publish new blog post. + # The user is logged in, so the GET following the redirect from + # `POST /wp-comment-post.php` must receive the new page with the + # published comment. The only logged-in user comments are in interest + # because comments for unauthorized clients are sent for moderation + # and appear on the page only after approvement in the CMS, so this case + # is just equal to cache update for any page from the CMS. post_id = self.post_blog_post(title=post_title, nonce=nonce) # Get new blog post content diff --git a/t_stress/test_wordpress.py b/t_stress/test_wordpress.py index 35bb9d3af..1c1a4832c 100644 --- a/t_stress/test_wordpress.py +++ b/t_stress/test_wordpress.py @@ -18,7 +18,7 @@ {"name": "H2", "proto": "h2", "http2": True}, ] ) -class TestWorpressStress(CustomMtuMixin, tester.TempestaTest): +class TestWordpressStress(CustomMtuMixin, tester.TempestaTest): proto: str http2: bool tempesta_tmpl = """