Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

PEP8 fixes

  • Loading branch information...
commit c0b6c00d328a2c6daeb0a6d2d84a85bf1dd67579 1 parent c720eb4
@ericof ericof authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 src/templer/localcommands/tests/test_localcommand.py
View
5 src/templer/localcommands/tests/test_localcommand.py
@@ -1,7 +1,6 @@
import os
import re
import shutil
-import sys
import tempfile
import unittest2 as unittest
@@ -43,7 +42,7 @@ def tearDown(self):
def test_add_not_generally_available(self):
cmd_pattern = r"^\s*add"
help_text = read_sh(self.cmd + ' help')
- matches = re.search(cmd_pattern, help_text, re.I|re.M)
+ matches = re.search(cmd_pattern, help_text, re.I | re.M)
self.assertEquals(matches, None, "add command should not be present")
def test_add_available_with_package(self):
@@ -56,7 +55,7 @@ def test_add_available_with_package(self):
os.chdir(os.path.sep.join(['plone.example', 'src']))
cmd_pattern = r"^\s*add"
help_text = read_sh(self.cmd + ' help')
- matches = re.search(cmd_pattern, help_text, re.I|re.M)
+ matches = re.search(cmd_pattern, help_text, re.I | re.M)
self.assertTrue(matches is not None, 'add command should be present')
def test_get_namespaces_from_egginfo(self):
Please sign in to comment.
Something went wrong with that request. Please try again.