• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5"""
6CM_01 Validation of |transaction_id| and |status_codes| in Modem's Response to
7MBIM_OPEN_MSG
8
9Reference:
10    [1] Universal Serial Bus Communication Class MBIM Compliance Testing: 38
11        http://www.usb.org/developers/docs/devclass_docs/MBIM-Compliance-1.0.pdf
12"""
13
14import common
15from autotest_lib.client.cros.cellular.mbim_compliance.sequences \
16        import mbim_open_generic_sequence
17from autotest_lib.client.cros.cellular.mbim_compliance.tests import test
18
19
20class CM01Test(test.Test):
21    """ Implement the CM_01 test. """
22
23    def run_internal(self):
24        """ Run CM_01 test. """
25        # Step 1
26        open_message, response_message = (
27                mbim_open_generic_sequence.MBIMOpenGenericSequence(
28                        self.test_context).run())
29