def test_url(self): from acme.messages import Revocation url = 'https://letsencrypt-demo.org/acme/revoke-cert' self.assertEqual(url, Revocation.url('https://letsencrypt-demo.org')) self.assertEqual( url, Revocation.url('https://letsencrypt-demo.org/acme/new-reg'))