From 52ce45beeebb5d223d82381ac5a19766d5da4239 Mon Sep 17 00:00:00 2001 From: Ilya Kreymer Date: Wed, 19 Oct 2016 21:17:40 -0700 Subject: [PATCH] tests: additional test for new modifier form --- pywb/rewrite/test/test_wburl.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pywb/rewrite/test/test_wburl.py b/pywb/rewrite/test/test_wburl.py index 05cf70ef..962d73c6 100644 --- a/pywb/rewrite/test/test_wburl.py +++ b/pywb/rewrite/test/test_wburl.py @@ -29,6 +29,9 @@ u""" >>> repr(WbUrl('im_/20130102.org')) "('latest_replay', '', 'im_', 'http://20130102.org', 'im_/http://20130102.org')" +>>> repr(WbUrl('$cbr:test-foo.123/https:/example.com')) +"('latest_replay', '', '$cbr:test-foo.123', 'https://example.com', '$cbr:test-foo.123/https://example.com')" + >>> repr(WbUrl('20130102.example.com')) "('latest_replay', '', '', 'http://20130102.example.com', 'http://20130102.example.com')"