Commit 8e6ab861 authored by godog's avatar godog

set comprehension are python >= 2.7

parent 02bb917b
......@@ -21,19 +21,19 @@ class IncrementalScanTest(unittest.TestCase):
def test_scan_dirs(self):
result = scan_dirs([self.testroot], [], [])
self.assertEquals(
self._fq({'testfile', 'lot of whitespaces'}),
self._fq(set(['testfile', 'lot of whitespaces'])),
result)
def test_excludes(self):
result = scan_dirs([self.testroot], [], ['test*'])
self.assertEquals(
self._fq({'lot of whitespaces'}),
self._fq(set(['lot of whitespaces'])),
result)
def test_includes(self):
result = scan_dirs([self.testroot], ['test*'], [])
self.assertEquals(
self._fq({'testfile'}),
self._fq(set(['testfile'])),
result)
def test_scan_dirs_fails_on_bad_dir(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment