Skip to content

Commit 1100a9a

Browse files
committed
feat(tests/files/webui-pages.py): Add more endpoints to test
rh-pre-commit.version: 2.2.0 rh-pre-commit.check-secrets: ENABLED
1 parent 5d3ea10 commit 1100a9a

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

playbooks/tests/files/webui-pages.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,26 @@ def katello_api_v2_content_views_nondefault_organization_id(self):
192192
def katello_api_v2_packages_organization_id(self):
193193
_get(self.client, f"/katello/api/v2/packages?organization_id={self.satellite_org_id}&paged=true&search=", "\"results\":")
194194

195+
@task
196+
def pub(self):
197+
_get(self.client, "/pub", "<title>Index of /pub</title>")
198+
199+
@task
200+
def api_ping(self):
201+
_get(self.client, "/api/ping", "\"results\":")
202+
203+
@task
204+
def pulp_api_v3_status(self):
205+
_get(self.client, "/pulp/api/v3/status", "\"versions\":")
206+
207+
@task
208+
def rhsm(self):
209+
_get(self.client, "/rhsm", "\"consumers\"")
210+
211+
@task
212+
def rhsm_status(self):
213+
_get(self.client, "/rhsm/status", "\"mode\":")
214+
195215

196216
def doit(args, status_data):
197217
test_set = getattr(sys.modules[__name__], args.test_set)

0 commit comments

Comments
 (0)