Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
f7e1bfe7
Commit
f7e1bfe7
authored
Jan 08, 2015
by
Ben Patterson
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6491 from edx/benp/add-cleanup-paver-tests
Stop mocks after test.
parents
a54bff29
d256c825
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
pavelib/paver_tests/test_paver_quality.py
+2
-0
No files found.
pavelib/paver_tests/test_paver_quality.py
View file @
f7e1bfe7
...
...
@@ -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
):
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment