summaryrefslogtreecommitdiff
diff options
authorJonathan Cave <jonathan.cave@canonical.com>2020-02-21 18:44:19 +0000
committerJonathan Cave <jonathan.cave@canonical.com>2020-02-21 18:44:19 +0000
commit01e067e663b63bf8041c24050fd4aa630acf9264 (patch)
treea7915ffe6720c75f8a863b07ab7bcc072c71a07b
parent0662673c6e99a4fa75630ae9ca581851169a428e (diff)
wwan: remove missed context cruft from gsm test
Cleanup Some last traces of guacamole.
-rwxr-xr-xbin/wwan_tests.py4
1 files 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)