comparison 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
comparison
equal deleted inserted replaced
14:8a02f209992f 15:77118f83b5b7
39 ]) 39 ])
40 ] 40 ]
41 def test_patch(self): 41 def test_patch(self):
42 """test parsing the files from a patch""" 42 """test parsing the files from a patch"""
43 43
44 diff = os.path.join(here, '41701d2c0341.diff') 44 for diff, filenames in self.diff_files:
45 files = FeedAgentDiff.lsdiff(diff) 45 diff = os.path.join(here, diff)
46 files = FeedAgentDiff.lsdiff(diff)
46 47
47 if __name__ == '__main__': 48 if __name__ == '__main__':
48 unittest.main() 49 unittest.main()
49 50