mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 08:45:22 +02:00
add missing unittest.main()
This commit is contained in:
committed by
James Kasten
parent
2912a9f99b
commit
30486f4445
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user