diff options
author | Daniel Manrique <roadmr@ubuntu.com> | 2014-12-09 11:20:41 -0500 |
---|---|---|
committer | Daniel Manrique <roadmr@ubuntu.com> | 2014-12-09 11:20:41 -0500 |
commit | fc9431b2d6f5d8a4a76cd5a8cc9d97d2e2321d50 (patch) | |
tree | bf78513e63db07d7edc8c8d30492c9fed48c40ab | |
parent | 324e2c5af18d0d2b13af74778686a1aa27235bd9 (diff) |
providers:checkbox: PEP8 fixes
-rwxr-xr-x | bin/piglit_test | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/piglit_test b/bin/piglit_test index 2fadfe1..c8eacfc 100755 --- a/bin/piglit_test +++ b/bin/piglit_test @@ -3,7 +3,7 @@ import os import sys -from argparse import ArgumentParser, FileType +from argparse import ArgumentParser from subprocess import check_output, STDOUT @@ -16,9 +16,9 @@ class PiglitTests: def run(self): piglit_output = '' - + log_path = os.path.join(os.environ.get('CHECKBOX_DATA', '.'), - 'piglit-results', self._name) + 'piglit-results', self._name) run_command = ["piglit-run.py"] @@ -40,7 +40,7 @@ class PiglitTests: for line in piglit_output.split('\n'): if ' :: ' in line: self._results[line.split(' :: ')[-1].strip()] = \ - line.split(' :: ')[-2].strip() + line.split(' :: ')[-2].strip() def get_tests_by_status(self, status): """ @@ -56,8 +56,8 @@ class PiglitTests: def main(): parser = ArgumentParser("A wrapper script for the Piglit graphics test " - "framework which runs the tests and parses the " - "results.") + "framework which runs the tests and parses the " + "results.") parser.add_argument("--test", "-t", required=True, action='append', |