comparison tests/unit.py @ 45:32cf3d3469c3 default tip

assert
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 07 Nov 2013 14:19:06 -0800
parents 77118f83b5b7
children
comparison
equal deleted inserted replaced
44:4f8fe143b977 45:32cf3d3469c3
42 """test parsing the files from a patch""" 42 """test parsing the files from a patch"""
43 43
44 for diff, filenames in self.diff_files: 44 for diff, filenames in self.diff_files:
45 diff = os.path.join(here, diff) 45 diff = os.path.join(here, diff)
46 files = FeedAgentDiff.lsdiff(diff) 46 files = FeedAgentDiff.lsdiff(diff)
47 self.assertEqual(files, set(filenames))
47 48
48 if __name__ == '__main__': 49 if __name__ == '__main__':
49 unittest.main() 50 unittest.main()
50 51