Skip to content

Commit 9363b2d

Browse files
committed
tests: Add functional test for bug.weburl generation
Signed-off-by: Cole Robinson <crobinso@redhat.com>
1 parent 7798f81 commit 9363b2d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/test_ro_functional.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,3 +414,12 @@ def test_redhat_version(backends):
414414

415415
if not tests.CLICONFIG.REDHAT_URL:
416416
_test_version(bz, bzversion)
417+
418+
419+
def test_bug_misc(backends):
420+
bz = _open_bz(REDHAT_URL, **backends)
421+
422+
# Ensure weburl is generated consistently whether
423+
# we are using XMLRPC or REST
424+
bug = bz.getbug(720773)
425+
assert bug.weburl == "https://bugzilla.redhat.com/show_bug.cgi?id=720773"

0 commit comments

Comments
 (0)