Skip to content
This repository has been archived by the owner on Jan 20, 2019. It is now read-only.

Commit

Permalink
Changing the captializtion of some methods
Browse files Browse the repository at this point in the history
  • Loading branch information
nloadholtes committed Apr 6, 2014
1 parent 5e0bab8 commit e09c827
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions randomize/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ def makeTest(self, obj, parent=None):
obj = transplant_class(obj, parent.__name__)
if issubclass(obj, unittest.TestCase):
# Randomize the order of the tests in the TestCase
return self.Randomized_loadTestsFromTestCase(obj)
return self.randomized_loadTestsFromTestCase(obj)
else:
return self.Randomized_loadTestsFromTestClass(obj)
return self.randomized_loadTestsFromTestClass(obj)
elif ismethod(obj):
if parent is None:
parent = obj.__class__
Expand All @@ -97,15 +97,15 @@ def makeTest(self, obj, parent=None):
return Failure(TypeError,
"Can't make a test from %s" % obj)

def Randomized_loadTestsFromTestClass(self, cls):
def randomized_loadTestsFromTestClass(self, cls):
tests = loader.TestLoader().loadTestsFromTestClass(cls)
return self._shuffler(tests)

def Randomized_loadTestsFromContextSuite(self, suite):
def randomized_loadTestsFromContextSuite(self, suite):
tests = loader.TestLoader().loadTestsFromTestModule(suite)
return self._shuffler(tests)

def Randomized_loadTestsFromTestCase(self, testCaseClass):
def randomized_loadTestsFromTestCase(self, testCaseClass):
tests = loader.TestLoader().loadTestsFromTestCase(testCaseClass)
return self._shuffler(tests)

Expand Down

0 comments on commit e09c827

Please sign in to comment.