mirror of
https://github.com/spl0k/supysonic.git
synced 2024-11-09 19:52:16 +00:00
parent
c36d1813ee
commit
420003dfc1
@ -73,7 +73,7 @@ def user_profile(uid, user):
|
||||
@me_or_uuid
|
||||
def update_clients(uid, user):
|
||||
clients_opts = dict()
|
||||
for key, value in request.form.iteritems():
|
||||
for key, value in request.form.items():
|
||||
if '_' not in key:
|
||||
continue
|
||||
parts = key.split('_')
|
||||
|
@ -24,6 +24,7 @@ class TranscodingTestCase(ApiTestBase):
|
||||
self.skipTest('Logging/atexit error')
|
||||
|
||||
super(TranscodingTestCase, self).setUp()
|
||||
self._patch_client()
|
||||
|
||||
FolderManager.add('Folder', 'tests/assets/folder')
|
||||
scanner = Scanner()
|
||||
@ -54,7 +55,7 @@ class TranscodingTestCase(ApiTestBase):
|
||||
rv = self._stream(format = 'cat')
|
||||
self.assertEqual(rv.data, 'Pushing out some mp3 data...')
|
||||
|
||||
rv = self._stream(format = 'md5')
|
||||
rv = self._stream(format = 'md5')
|
||||
self.assertTrue(rv.data.startswith('dbb16c0847e5d8c3b1867604828cb50b'))
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
Loading…
Reference in New Issue
Block a user