~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_patches.py

  • Committer: Martin Pool
  • Date: 2008-05-08 04:18:41 UTC
  • mto: This revision was merged to the branch mainline in revision 3415.
  • Revision ID: mbp@sourcefrog.net-20080508041841-6cv1owy6y1gukja5
Remove dead main method from test_patches

Show diffs side-by-side

added added

removed removed

Lines of Context:
227
227
        for patch in patches:
228
228
            patch_files.append((patch.oldname, patch.newname))
229
229
        self.assertEqual(patch_files, filenames)
230
 
            
231
 
def test():
232
 
    patchesTestSuite = unittest.makeSuite(PatchesTester,'test')
233
 
    runner = unittest.TextTestRunner(verbosity=0)
234
 
    return runner.run(patchesTestSuite)
235
 
 
236
 
 
237
 
if __name__ == "__main__":
238
 
    test()