mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 00:02:14 -04:00
Merge branch 'bugs/402' into pkgs_sep_prep
This commit is contained in:
commit
c7aff67132
4 changed files with 6 additions and 7 deletions
|
|
@ -44,8 +44,7 @@ class JSONDeSerializableTest(unittest.TestCase):
|
|||
|
||||
@classmethod
|
||||
def from_json(cls, jobj):
|
||||
return cls(Basic.from_json(jobj.keys()[0]),
|
||||
Basic.from_json(jobj.values()[0]))
|
||||
pass # pragma: no cover
|
||||
|
||||
self.basic1 = Basic('foo1')
|
||||
self.basic2 = Basic('foo2')
|
||||
|
|
|
|||
|
|
@ -45,10 +45,10 @@ class FieldTest(unittest.TestCase):
|
|||
class MockField(interfaces.JSONDeSerializable):
|
||||
# pylint: disable=missing-docstring
|
||||
def to_partial_json(self):
|
||||
return 'foo'
|
||||
return 'foo' # pragma: no cover
|
||||
@classmethod
|
||||
def from_json(cls, jobj):
|
||||
pass
|
||||
pass # pragma: no cover
|
||||
mock_field = MockField()
|
||||
|
||||
from acme.jose.json_util import Field
|
||||
|
|
|
|||
|
|
@ -26,10 +26,10 @@ class JWASignatureTest(unittest.TestCase):
|
|||
# pylint: disable=missing-docstring,too-few-public-methods
|
||||
# pylint: disable=abstract-class-not-used
|
||||
def sign(self, key, msg):
|
||||
raise NotImplementedError()
|
||||
raise NotImplementedError() # pragma: no cover
|
||||
|
||||
def verify(self, key, msg, sig):
|
||||
raise NotImplementedError()
|
||||
raise NotImplementedError() # pragma: no cover
|
||||
|
||||
# pylint: disable=invalid-name
|
||||
self.Sig1 = MockSig('Sig1')
|
||||
|
|
|
|||
|
|
@ -18,5 +18,5 @@ cover () {
|
|||
# don't use sequential composition (;), if letsencrypt_nginx returns
|
||||
# 0, coveralls submit will be triggered (c.f. .travis.yml,
|
||||
# after_success)
|
||||
cover letsencrypt 94 && cover acme 99 && \
|
||||
cover letsencrypt 94 && cover acme 100 && \
|
||||
cover letsencrypt_apache 78 && cover letsencrypt_nginx 94
|
||||
|
|
|
|||
Loading…
Reference in a new issue