diff options
| author | Russell Bryant <rbryant@redhat.com> | 2012-05-16 11:34:29 -0400 |
|---|---|---|
| committer | Russell Bryant <rbryant@redhat.com> | 2012-05-16 11:34:29 -0400 |
| commit | f34db0fe7414a1e8390a0a04ae33a59e73a755c8 (patch) | |
| tree | c19135710cc87e4369904d7e5a1d2da54077d979 /tests | |
| parent | 654d80b416dc5f413cb791aa838ec8688bf7da44 (diff) | |
Run pep8 on tests.
I noticed that pep8 wasn't running on the tests. This patch fixes that,
as well as a couple of pep8 errors in test_cfg.
Change-Id: I4429bfe6813a2e9394efb1753cbebbadb9f23833
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/unit/test_cfg.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit/test_cfg.py b/tests/unit/test_cfg.py index 688f41a..896cc1e 100644 --- a/tests/unit/test_cfg.py +++ b/tests/unit/test_cfg.py @@ -94,7 +94,7 @@ class BaseTestCase(unittest.TestCase): (fd, path) = tempfile.mkstemp(prefix=basename, suffix=ext) else: path = basename + ext - fd = os.open(path, os.O_CREAT|os.O_WRONLY) + fd = os.open(path, os.O_CREAT | os.O_WRONLY) self.tempfiles.append(path) try: os.write(fd, contents) @@ -801,6 +801,7 @@ class TemplateSubstitutionTestCase(BaseTestCase): self.assertTrue(hasattr(self.conf.snafu, 'bell')) self.assertEquals(self.conf.snafu.bell, 'whistle-03') + class ReparseTestCase(BaseTestCase): def test_reparse(self): |
