mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 00:35:50 +02:00
Don’t write unit tests for non-optimal code paths
This commit is contained in:
@@ -56,17 +56,6 @@ class PrettyTest(unittest.TestCase):
|
||||
class ChallengeRequestTest(unittest.TestCase):
|
||||
"""Tests for letsencrypt.client.acme.challenge_request_test"""
|
||||
|
||||
def test_parameter_becomes_result(self):
|
||||
"""Test parameter is passed to result object unchanged"""
|
||||
from letsencrypt.client.acme import challenge_request
|
||||
self.assertEqual(
|
||||
challenge_request("domainname"),
|
||||
{
|
||||
"type": "challengeRequest",
|
||||
"identifier": "domainname",
|
||||
}
|
||||
)
|
||||
|
||||
def test_supports_unicode(self):
|
||||
"""Test support unicode parameter"""
|
||||
from letsencrypt.client.acme import challenge_request
|
||||
|
||||
Reference in New Issue
Block a user