mirror of
https://github.com/certbot/certbot.git
synced 2026-01-23 07:20:55 +03:00
100% coverage for network2_test
This commit is contained in:
@@ -100,7 +100,7 @@ class NetworkTest(unittest.TestCase):
|
||||
return self.value
|
||||
@classmethod
|
||||
def from_json(cls, value):
|
||||
return cls(value)
|
||||
pass # pragma: no cover
|
||||
# pylint: disable=protected-access
|
||||
jws = self.net._wrap_in_jws(MockJSONDeSerializable('foo'))
|
||||
self.assertEqual(jose.JWS.json_loads(jws).payload, '"foo"')
|
||||
|
||||
Reference in New Issue
Block a user