Show More
@@ -32,8 +32,9 b' def test_vcs_available_returns_summary_p' | |||||
32 |
|
32 | |||
33 | @pytest.mark.usefixtures('autologin_user', 'app') |
|
33 | @pytest.mark.usefixtures('autologin_user', 'app') | |
34 | def test_vcs_unavailable_returns_vcs_error_page(app, backend, app_settings): |
|
34 | def test_vcs_unavailable_returns_vcs_error_page(app, backend, app_settings): | |
35 | import rhodecode |
|
|||
36 | from rhodecode.lib.vcs.exceptions import VCSCommunicationError |
|
35 | from rhodecode.lib.vcs.exceptions import VCSCommunicationError | |
|
36 | from rhodecode.lib.middleware.error_handling import ( | |||
|
37 | PylonsErrorHandlingMiddleware) | |||
37 |
|
38 | |||
38 | # Depending on the used VCSServer protocol we have to patch a different |
|
39 | # Depending on the used VCSServer protocol we have to patch a different | |
39 | # RemoteRepo class to raise an exception. For the test it doesn't matter |
|
40 | # RemoteRepo class to raise an exception. For the test it doesn't matter |
General Comments 0
You need to be logged in to leave comments.
Login now