Show More
@@ -21,7 +21,7 b'' | |||
|
21 | 21 | |
|
22 | 22 | import pytest |
|
23 | 23 | |
|
24 |
from rhodecode.api.views import depr |
|
|
24 | from rhodecode.api.views import deprecated_api | |
|
25 | 25 | from rhodecode.lib.ext_json import json |
|
26 | 26 | from rhodecode.api.tests.utils import ( |
|
27 | 27 | build_data, api_call) |
@@ -30,7 +30,7 b' from rhodecode.api.tests.utils import (' | |||
|
30 | 30 | @pytest.mark.usefixtures("testuser_api", "app") |
|
31 | 31 | class TestCommitComment(object): |
|
32 | 32 | def test_deprecated_message_in_docstring(self): |
|
33 |
docstring = depr |
|
|
33 | docstring = deprecated_api.changeset_comment.__doc__ | |
|
34 | 34 | assert '.. deprecated:: 3.4.0' in docstring |
|
35 | 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 |
General Comments 0
You need to be logged in to leave comments.
Login now