Ignore get_stub method of lnd client in code coverage (#1611)

This commit is contained in:
Jonathan Zernik 2021-10-15 21:17:22 -07:00 committed by GitHub
parent 47a68505b7
commit 661c85bd70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,7 +62,7 @@ class LNDLightningClient:
def init(self):
self.stub = self._get_stub()
def _get_stub(self):
def _get_stub(self): # pragma: no cover
url = "{}:{}".format(self.host, self.port)
# Lnd cert is at ~/.lnd/tls.cert on Linux and