Commit 43ee1650 authored by Robin Obůrka's avatar Robin Obůrka

network: Remove argument for test - it is not necessary anymore

parent b2c3d1dd
......@@ -167,19 +167,14 @@ class SN:
an API-like interface for requesting ZMQ sockets based on available
def __init__(self, ctx, argparser=None, **options):
def __init__(self, ctx, argparser=None):
## Gather data
self.context = ctx
## This is small hack to make the whole module ready for black-box tests
args_to_parse = None
if "args" in options:
args_to_parse = options["args"]
if argparser:
self.args = argparser.parse_args(args_to_parse)
self.args = argparser.parse_args()
self.args = get_arg_parser().parse_args(args_to_parse)
self.args = get_arg_parser().parse_args()
## Build all necessary configuration
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment