Пример #1
0
 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'))
Пример #2
0
 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'))