aboutsummaryrefslogtreecommitdiff
path: root/crosperf/crosperf_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'crosperf/crosperf_test.py')
-rwxr-xr-xcrosperf/crosperf_test.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/crosperf/crosperf_test.py b/crosperf/crosperf_test.py
index 0c50e7b5..09aefcb6 100755
--- a/crosperf/crosperf_test.py
+++ b/crosperf/crosperf_test.py
@@ -8,7 +8,6 @@ import unittest
import crosperf
from utils.file_utils import FileUtils
-
EXPERIMENT_FILE_1 = """
board: x86-alex
remote: chromeos-alex3
@@ -28,13 +27,14 @@ EXPERIMENT_FILE_1 = """
class CrosPerfTest(unittest.TestCase):
+
def testDryRun(self):
filehandle, filename = tempfile.mkstemp()
os.write(filehandle, EXPERIMENT_FILE_1)
- crosperf.Main(["", filename, "--dry_run"])
+ crosperf.Main(['', filename, '--dry_run'])
os.remove(filename)
-if __name__ == "__main__":
+if __name__ == '__main__':
FileUtils.Configure(True)
unittest.main()