comparison tests/test_template_keywords.py @ 1044:d741f536f23a

tests: remove old test-loading infrastructure (for those in the know, this is known as a suitectomy)
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Wed, 07 Aug 2013 16:00:52 +0200
parents f089ca13cc4c
children 8caf1226adec
comparison
equal deleted inserted replaced
1043:69a9fb45cad5 1044:d741f536f23a
78 defaults = {'date': None, 'rev': ['svnrev(1, 2)'], 'user': None} 78 defaults = {'date': None, 'rev': ['svnrev(1, 2)'], 'user': None}
79 79
80 self.assertRaises(error.ParseError, 80 self.assertRaises(error.ParseError,
81 commands.log, self.ui(), repo, 81 commands.log, self.ui(), repo,
82 template='{rev}:{svnrev} ', **defaults) 82 template='{rev}:{svnrev} ', **defaults)
83
84 def suite():
85 all_tests = [unittest.TestLoader().loadTestsFromTestCase(TestLogKeywords), ]
86 return unittest.TestSuite(all_tests)