summaryrefslogtreecommitdiff
path: root/mox3/tests/test_stubout.py
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2013-05-21 17:12:00 -0400
committerMonty Taylor <mordred@inaugust.com>2013-05-21 17:12:00 -0400
commit1a99638ba2405211c6539c71060e89f8e98b53bb (patch)
treec5605ffe3b80e3f82a80c83e02a4fb94a4fbc97e /mox3/tests/test_stubout.py
parent24bd40737ac97ad32226fbd29b50fda05de00364 (diff)
downloadpymox-1a99638ba2405211c6539c71060e89f8e98b53bb.tar.gz
Fix the leading indentation issue.
Diffstat (limited to 'mox3/tests/test_stubout.py')
-rw-r--r--mox3/tests/test_stubout.py28
1 files changed, 14 insertions, 14 deletions
diff --git a/mox3/tests/test_stubout.py b/mox3/tests/test_stubout.py
index be9a94c..e729d34 100644
--- a/mox3/tests/test_stubout.py
+++ b/mox3/tests/test_stubout.py
@@ -23,26 +23,26 @@ from . import stubout_helper
class StubOutForTestingTest(unittest.TestCase):
- def setUp(self):
- self.mox = mox.Mox()
- self.sample_function_backup = stubout_helper.SampleFunction
+ def setUp(self):
+ self.mox = mox.Mox()
+ self.sample_function_backup = stubout_helper.SampleFunction
- def tearDown(self):
- stubout_helper.SampleFunction = self.sample_function_backup
+ def tearDown(self):
+ stubout_helper.SampleFunction = self.sample_function_backup
- def testSmartSetOnModule(self):
- mock_function = self.mox.CreateMockAnything()
- mock_function()
+ def testSmartSetOnModule(self):
+ mock_function = self.mox.CreateMockAnything()
+ mock_function()
- stubber = stubout.StubOutForTesting()
- stubber.SmartSet(stubout_helper, 'SampleFunction', mock_function)
+ stubber = stubout.StubOutForTesting()
+ stubber.SmartSet(stubout_helper, 'SampleFunction', mock_function)
- self.mox.ReplayAll()
+ self.mox.ReplayAll()
- stubout_helper.SampleFunction()
+ stubout_helper.SampleFunction()
- self.mox.VerifyAll()
+ self.mox.VerifyAll()
if __name__ == '__main__':
- unittest.main()
+ unittest.main()