Refactor functions for api

- Change url to use hyphen instead of camelCase
- Refactor functions to be immutable

Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
This commit is contained in:
Prachi Srivastava authored and Joseph Nuthalpati committed 2017-09-08 14:56:30 +05:30
1 parent c0fb2abf46
commit fbe08443f4
3 files changed
+13 -14

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ class TestApi(unittest.TestCase):
expected = [{
'name': 'someName',
'short_description': 'someDescription',
'icon_url': 'static/theme/icons/someIconURl.svg'
'icon': 'static/theme/icons/someIconURl.svg'
}]
def test_get_app_payload(self):