blob: 3f6b27044bdd4759d0c04873a09a9498903d2736 [file] [log] [blame]
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from autotest_lib.client.bin import test
from autotest_lib.client.common_lib import error
import dbus
from autotest_lib.client.cros import flimflam_test_path
import flimflam
class network_3GModemPresent(test.test):
version = 1
def run_once(self):
flim = flimflam.FlimFlam()
device = flim.FindElementByPropertySubstring("Device",
"Type",
"cellular")
if not device:
raise error.TestFail("Could not find cellular device")