blob: 22257c0c7002701629ced372e5483bf20dfe536e [file] [log] [blame]
# Copyright 2015 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.
class Entity(object):
"""
A common base class for sequences / assertions.
This class serves as a common base class for all entities in the test. This
allows us to filter out objects that are part of the tests easily. All
tests, sequences and assertions should inherit from this class. They will
likely do so by defining their own base class that inherits from this.
"""
def __init__(self, device_context):
"""
@param device_context: An object that wraps information about the device
under test.
"""
self.device_context = device_context