1# Copyright (c) 2015 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 5import common 6from autotest_lib.client.cros.cellular.mbim_compliance import entity 7from autotest_lib.client.cros.cellular.mbim_compliance import mbim_errors 8 9 10class Assertion(entity.Entity): 11 """ Base class for all assertions. """ 12 13 def check(self): 14 """ Check that the assertion holds. """ 15 mbim_errors.log_and_raise(NotImplementedError) 16