mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
100% coverage for network2_test
This commit is contained in:
parent
484fd8fe9e
commit
82bd808ab3
1 changed files with 1 additions and 1 deletions
|
|
@ -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"')
|
||||
|
|
|
|||
Loading…
Reference in a new issue