Show More
@@ -21,7 +21,7 b'' | |||||
21 |
|
21 | |||
22 | import pytest |
|
22 | import pytest | |
23 |
|
23 | |||
24 |
from rhodecode.api.views import depr |
|
24 | from rhodecode.api.views import deprecated_api | |
25 | from rhodecode.lib.ext_json import json |
|
25 | from rhodecode.lib.ext_json import json | |
26 | from rhodecode.api.tests.utils import ( |
|
26 | from rhodecode.api.tests.utils import ( | |
27 | build_data, api_call) |
|
27 | build_data, api_call) | |
@@ -30,7 +30,7 b' from rhodecode.api.tests.utils import (' | |||||
30 | @pytest.mark.usefixtures("testuser_api", "app") |
|
30 | @pytest.mark.usefixtures("testuser_api", "app") | |
31 | class TestCommitComment(object): |
|
31 | class TestCommitComment(object): | |
32 | def test_deprecated_message_in_docstring(self): |
|
32 | def test_deprecated_message_in_docstring(self): | |
33 |
docstring = depr |
|
33 | docstring = deprecated_api.changeset_comment.__doc__ | |
34 | assert '.. deprecated:: 3.4.0' in docstring |
|
34 | assert '.. deprecated:: 3.4.0' in docstring | |
35 | assert 'Please use method `comment_commit` instead.' in docstring |
|
35 | assert 'Please use method `comment_commit` instead.' in docstring | |
36 |
|
36 |
1 | NO CONTENT: file renamed from rhodecode/api/views/depracated_api.py to rhodecode/api/views/deprecated_api.py |
|
NO CONTENT: file renamed from rhodecode/api/views/depracated_api.py to rhodecode/api/views/deprecated_api.py |
@@ -19,7 +19,7 b'' | |||||
19 | # and proprietary license terms, please see https://rhodecode.com/licenses/ |
|
19 | # and proprietary license terms, please see https://rhodecode.com/licenses/ | |
20 |
|
20 | |||
21 | """ |
|
21 | """ | |
22 |
depr |
|
22 | deprecated make-config paster command for RhodeCode | |
23 | """ |
|
23 | """ | |
24 |
|
24 | |||
25 | import os |
|
25 | import os |
General Comments 0
You need to be logged in to leave comments.
Login now