Skip to content

Commit

Permalink
Normalize testcase file boilerplate.
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver committed Jun 5, 2015
1 parent 1add18b commit 0980b55
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/zope/authentication/tests/test_loginpassword.py
Expand Up @@ -35,8 +35,6 @@ def testLoginPassword(self):
lp.needLogin("tim") # This method should exist

def test_suite():
loader=unittest.TestLoader()
return loader.loadTestsFromTestCase(Test)

if __name__=='__main__':
unittest.TextTestRunner().run(test_suite())
return unittest.TestSuite((
unittest.makeSuite(Test),
))

0 comments on commit 0980b55

Please sign in to comment.