summaryrefslogtreecommitdiff
path: root/testsuite/test_util.py
diff options
context:
space:
mode:
authorIan Lee <IanLee1521@gmail.com>2014-12-12 21:03:03 -0800
committerIan Lee <IanLee1521@gmail.com>2014-12-13 12:09:14 -0800
commitfbc5e2d52549452c2adbe58644358cf3c4eeb526 (patch)
tree0cc5bbf2cbd15ee8f9926d4730d1d8138a8eed75 /testsuite/test_util.py
parent78d959d7ef3f9b4182905a30ec4a2e2c93381fe9 (diff)
downloadpep8-fbc5e2d52549452c2adbe58644358cf3c4eeb526.tar.gz
Add a few more cases of "not value"
Diffstat (limited to 'testsuite/test_util.py')
-rw-r--r--testsuite/test_util.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/test_util.py b/testsuite/test_util.py
index 84b736a..658d057 100644
--- a/testsuite/test_util.py
+++ b/testsuite/test_util.py
@@ -11,9 +11,12 @@ class UtilTestCase(unittest.TestCase):
cwd = os.getcwd()
self.assertEquals(pep8.normalize_paths(''), [])
+ self.assertEquals(pep8.normalize_paths([]), [])
+ self.assertEquals(pep8.normalize_paths(None), [])
self.assertEquals(pep8.normalize_paths(['foo']), ['foo'])
self.assertEquals(pep8.normalize_paths('foo'), ['foo'])
self.assertEquals(pep8.normalize_paths('foo,bar'), ['foo', 'bar'])
+ self.assertEquals(pep8.normalize_paths('foo, bar '), ['foo', 'bar'])
self.assertEquals(pep8.normalize_paths('/foo/bar,baz/../bat'),
['/foo/bar', cwd + '/bat'])
self.assertEquals(pep8.normalize_paths(".pyc,\n build/*"),