diff tests/unit.py @ 15:77118f83b5b7

almost does somethign
author Jeff Hammel <jhammel@mozilla.com>
date Sat, 28 Sep 2013 09:20:14 -0700
parents 8a02f209992f
children 32cf3d3469c3
line wrap: on
line diff
--- a/tests/unit.py	Sat Sep 28 07:13:01 2013 -0700
+++ b/tests/unit.py	Sat Sep 28 09:20:14 2013 -0700
@@ -41,8 +41,9 @@
     def test_patch(self):
         """test parsing the files from a patch"""
 
-        diff = os.path.join(here, '41701d2c0341.diff')
-        files = FeedAgentDiff.lsdiff(diff)
+        for diff, filenames in self.diff_files:
+            diff = os.path.join(here, diff)
+            files = FeedAgentDiff.lsdiff(diff)
 
 if __name__ == '__main__':
     unittest.main()