mirror of
https://github.com/certbot/certbot.git
synced 2026-06-05 06:42:10 -04:00
add missing unittest.main()
This commit is contained in:
parent
2912a9f99b
commit
30486f4445
2 changed files with 8 additions and 0 deletions
|
|
@ -64,3 +64,7 @@ class VirtualHostTest(unittest.TestCase):
|
|||
self.assertEqual(vhost1b, self.vhost1)
|
||||
self.assertEqual(str(vhost1b), str(self.vhost1))
|
||||
self.assertNotEqual(vhost1b, 1234)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
|
|
|||
|
|
@ -49,3 +49,7 @@ class DvsniGenCertTest(unittest.TestCase):
|
|||
def _call(cls, name, r_b64, nonce, key):
|
||||
from letsencrypt.client.challenge_util import dvsni_gen_cert
|
||||
return dvsni_gen_cert(name, r_b64, nonce, key)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
|
|
|||
Loading…
Reference in a new issue