Home | History | Annotate | Download | only in cros

Lines Matching refs:telemetry_runner

7 """Unit tests for server/cros/dynamic_suite/telemetry_runner.py."""
13 from autotest_lib.server.cros import telemetry_runner
17 """Unit tests for telemetry_runner.TelemetryResult."""
39 result = telemetry_runner.TelemetryResult()
41 self.assertEquals(result.status, telemetry_runner.FAILED_STATUS)
46 result = telemetry_runner.TelemetryResult(
49 self.assertEquals(result.status, telemetry_runner.SUCCESS_STATUS)
59 result = telemetry_runner.TelemetryResult(exit_code=2, stdout=stdout,
62 self.assertEquals(result.status, telemetry_runner.WARNING_STATUS)
76 result = telemetry_runner.TelemetryResult(exit_code=2, stdout=stdout,
79 self.assertEquals(result.status, telemetry_runner.FAILED_STATUS)
89 result = telemetry_runner.TelemetryResult(exit_code=1, stdout=stdout,
92 self.assertEquals(result.status, telemetry_runner.WARNING_STATUS)
103 result = telemetry_runner.TelemetryResult(exit_code=0, stdout=stdout,
106 self.assertEquals(result.status, telemetry_runner.SUCCESS_STATUS)
118 result = telemetry_runner.TelemetryResult(exit_code=0, stdout=stdout,
121 self.assertEquals(result.status, telemetry_runner.SUCCESS_STATUS)
132 result = telemetry_runner.TelemetryResult(exit_code=0, stdout=stdout,
135 self.assertEquals(result.status, telemetry_runner.SUCCESS_STATUS)
159 result = telemetry_runner.TelemetryResult(exit_code=0, stdout=stdout,
162 self.assertEquals(result.status, telemetry_runner.SUCCESS_STATUS)
168 result = telemetry_runner.TelemetryResult()