Skip to content

Commit

Permalink
testing: exclude code
Browse files Browse the repository at this point in the history
  • Loading branch information
gdassori committed May 19, 2018
1 parent 3afeb7b commit 96fd31f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spruned/daemon/electrod/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import asyncio


def load_electrum_servers(ctx):
def load_electrum_servers(ctx): # pragma: no cover
network = ctx.get_network()
_local, local_servers = ctx.datadir + '/electrum_servers.json', []
_current_path = os.path.dirname(os.path.abspath(__file__))
Expand All @@ -19,7 +19,7 @@ def load_electrum_servers(ctx):
return local_servers + electrum_servers


def save_electrum_servers(peers: set):
def save_electrum_servers(peers: set): # pragma: no cover
from spruned.application.context import ctx
_local = ctx.datadir + '/electrum_servers.json'
if os.path.exists(_local) and os.path.isfile(_local):
Expand Down

0 comments on commit 96fd31f

Please sign in to comment.