mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
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:
1 parent
c0fb2abf46
commit
fbe08443f4
3 files changed
+13
-14
No files matched your search
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user