aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/utilities_tests.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/utilities_tests.py b/tests/utilities_tests.py
index fbfc9a55..7eecc01a 100644
--- a/tests/utilities_tests.py
+++ b/tests/utilities_tests.py
@@ -23,6 +23,10 @@ class GrepTest(unittest.TestCase):
matches = grep(".*unittest$", open(__file__.replace(".pyc", ".py")))
self.assertEquals(matches, ['import unittest\n'])
+ def test_grep_multiple_files(self):
+ matches = grep(".*unittest$", __file__.replace(".pyc", ".py"), "does_not_exist.txt")
+ self.assertEquals(matches, ['import unittest\n'])
+
class DirTreeTest(unittest.TestCase):