From 01e067e663b63bf8041c24050fd4aa630acf9264 Mon Sep 17 00:00:00 2001 From: Jonathan Cave Date: Fri, 21 Feb 2020 18:44:19 +0000 Subject: wwan: remove missed context cruft from gsm test Cleanup Some last traces of guacamole. --- bin/wwan_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/wwan_tests.py b/bin/wwan_tests.py index c19c547..df44cf6 100755 --- a/bin/wwan_tests.py +++ b/bin/wwan_tests.py @@ -261,7 +261,7 @@ def _ping_test(if_name): class ThreeGppConnection(): - def invoked(self, ctx): + def invoked(self): parser = argparse.ArgumentParser() parser.add_argument('wwan_control_if', type=str, help='The control interface for the device') @@ -274,7 +274,7 @@ class ThreeGppConnection(): args = parser.parse_args(sys.argv[2:]) ret_code = 1 try: - _create_3gpp_connection(ctx.args.wwan_control_if, args.apn) + _create_3gpp_connection(args.wwan_control_if, args.apn) _wwan_radio_on() time.sleep(args.wwan_setup_time) ret_code = _ping_test(args.wwan_net_if) -- cgit v1.2.3