1from autotest_lib.server.cros.cfm.configurable_test import configuration
2
3class CfmTest(object):
4    """
5    Specification of one configurable CFM test.
6    """
7
8    def __init__(self, scenario, configuration=configuration.Configuration()):
9        """
10        Initializes.
11
12        @param scenario The scenario to run.
13        @param configuration The configuration to use. Optional, defaults
14                to configuration with default values.
15        """
16        self.scenario = scenario
17        self.configuration = configuration
18
19    def __str__(self):
20        return ('CfmTest\n  scenario: %s\n  configuration: %s'
21                        % (self.scenario, self.configuration))
22
23
24