1# Copyright 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 5class Entity(object): 6 """ 7 A common base class for sequences / assertions. 8 9 This class serves as a common base class for all entities in the test. This 10 allows us to filter out objects that are part of the tests easily. All 11 tests, sequences and assertions should inherit from this class. They will 12 likely do so by defining their own base class that inherits from this. 13 14 """ 15 def __init__(self, device_context): 16 """ 17 @param device_context: An object that wraps information about the device 18 under test. 19 """ 20 self.device_context = device_context 21