cellular: Verify backchannel uses ethernet
BUG=chromium:403168
TEST=network_3GSmokeTest
Change-Id: I495498d01b87aed024d507db1172b45b2c7a1d73
Reviewed-on: https://chromium-review.googlesource.com/216219
Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org>
Tested-by: Thieu Le <thieule@chromium.org>
Commit-Queue: Thieu Le <thieule@chromium.org>
diff --git a/client/cros/cellular/test_environment.py b/client/cros/cellular/test_environment.py
index 9340c61..76c6bcc 100644
--- a/client/cros/cellular/test_environment.py
+++ b/client/cros/cellular/test_environment.py
@@ -156,8 +156,9 @@
@raise error.TestError if backchannel is not on an ethernet device.
"""
- # TODO: Implement this (crbug.com/403168).
- pass
+ if not backchannel.is_backchannel_using_ethernet():
+ raise error.TestError('An ethernet connection is required between '
+ 'the test server and the device under test.')
def _verify_sim(self):