Commit f7e1bfe7 by Ben Patterson

Merge pull request #6491 from edx/benp/add-cleanup-paver-tests

Stop mocks after test.
parents a54bff29 d256c825
......@@ -60,6 +60,8 @@ class TestPaverRunQuality(unittest.TestCase):
self._mock_paver_needs = patch.object(pavelib.quality.run_quality, 'needs').start()
self._mock_paver_needs.return_value = 0
self._mock_paver_sh = patch('pavelib.quality.sh').start()
self.addCleanup(self._mock_paver_sh.stop())
self.addCleanup(self._mock_paver_needs.stop())
def test_failure_on_diffquality_pep8(self):
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment