Commit Graph

7535 Commits

Author SHA1 Message Date
Sambhav Kothari
3e41ac808c Fix spelling error 2017-07-16 18:33:08 +05:30
Sambhav Kothari
bd80f280a0 Convert releasetype to lower case 2017-07-16 18:33:08 +05:30
Sambhav Kothari
315d308045 Fix error in variable assignement 2017-07-16 18:33:08 +05:30
Sambhav Kothari
c27cf50435 Remove unused variable 2017-07-16 18:33:08 +05:30
Sambhav Kothari
41fe9f34f8 Handle none type errors 2017-07-16 18:33:08 +05:30
Sambhav Kothari
22586506cc Fix tests and add test data 2017-07-16 18:33:08 +05:30
Sambhav Kothari
343102f46c Fix type error 2017-07-16 18:33:08 +05:30
Sambhav Kothari
4c7857d66b Fix error handling 2017-07-16 18:33:08 +05:30
Sambhav Kothari
d129d5bacc Remove mbxml 2017-07-16 18:33:08 +05:30
Sambhav Kothari
ab86b4178f Fix comparison logic for releases 2017-07-16 18:33:08 +05:30
Sambhav Kothari
b938d20fc8 Properly handle None type objects 2017-07-16 18:33:08 +05:30
Sambhav Kothari
555207752e Refactor acoustid json parsing code 2017-07-16 18:33:08 +05:30
Sambhav Kothari
a233f002db Migrate searchdialog to JSON API 2017-07-16 18:33:08 +05:30
Sambhav Kothari
57d64f331e Fix errors due to none type variables 2017-07-16 18:33:08 +05:30
Sambhav Kothari
6405bf5fb8 Migrate coverart code to json API 2017-07-16 18:33:08 +05:30
Sambhav Kothari
a79d05efa7 Migrate code to json API 2017-07-16 18:33:08 +05:30
Sambhav Kothari
e35eff88be Fix bug while adding secondary release nodes 2017-07-16 18:33:08 +05:30
Sambhav Kothari
c4806c260b Switch AcoustID API to json 2017-07-16 18:33:08 +05:30
Sambhav Kothari
ae9eb500b5 Add a json parser 2017-07-16 18:33:08 +05:30
Sambhav Kothari
3f2685a30f Move the default WS calls to json 2017-07-16 18:33:08 +05:30
Laurent Monin
a90d679187 Merge pull request #759 from samj1912/mbjson
Add helper functions for the JSON MB API
2017-07-13 13:49:53 +02:00
Sambhav Kothari
43a33c5f03 Add more test data 2017-07-13 17:04:27 +05:30
Sambhav Kothari
a3254f3291 Remove duplicacy 2017-07-13 16:58:12 +05:30
Sambhav Kothari
c694872d25 Clean up and refactor mbjson test 2017-07-13 16:58:12 +05:30
Sambhav Kothari
ee8a56b48d Add tests for mbjson 2017-07-13 16:58:12 +05:30
Sambhav Kothari
21d4432096 Fix MB-JSON erronous code 2017-07-13 16:58:12 +05:30
Sambhav Kothari
ea965f7f76 Add helper functions for the JSON MB API 2017-07-13 16:58:12 +05:30
Laurent Monin
0edc75f5ba Merge pull request #757 from samj1912/wstests
Add more tests for the webservice
2017-07-13 13:26:24 +02:00
Sambhav Kothari
029a6882e1 Add more tests for the webservice 2017-07-13 16:42:57 +05:30
Laurent Monin
a9d357f52e Merge pull request #756 from samj1912/wsref
Fix variable names and error handling in WebService module
2017-07-13 13:11:41 +02:00
Sambhav Kothari
31c63efe5e Fix error handling 2017-07-13 16:34:09 +05:30
Sambhav Kothari
22c307693f Fix variable names and error handling in WebService module 2017-07-12 00:51:10 +05:30
samj1912
970da777a0 Merge pull request #755 from mineo/unbreak-tests-mock
Use unittest.mock instead of mock
2017-07-11 01:03:02 +05:30
Wieland Hoffmann
452a78aaf6 Don't use assert_called
It's only available in Python 3.6+
2017-07-10 20:34:16 +02:00
Wieland Hoffmann
690e385255 Use unittest.mock instead of mock
mock is not part of the standard library, only unittest.mock is.
2017-07-10 20:26:35 +02:00
Laurent Monin
333b249707 Merge pull request #753 from samj1912/wsref
Refactor the webservice code
2017-07-10 13:07:32 +02:00
Sambhav Kothari
9df404172a Add more tests for WebService 2017-07-10 15:58:49 +05:30
samj1912
d71fb8d57a Merge pull request #754 from scop/spelling
Spelling fixes
2017-07-10 01:30:08 +05:30
Ville Skyttä
ea0bd878b5 Spelling fixes 2017-07-09 22:16:48 +03:00
Sambhav Kothari
6145b0dd67 Fix imports 2017-07-09 21:49:43 +05:30
Sambhav Kothari
dcaa3f4e84 Add basic code to test Webservice 2017-07-09 21:37:52 +05:30
Sambhav Kothari
0ef8fd0f05 Move API constants and add Unknown parser error 2017-07-09 17:44:35 +05:30
Sambhav Kothari
181d04e32e Refactor the webservice code to allow hooking of response parsers 2017-07-09 14:04:33 +05:30
Sambhav Kothari
c469531797 Rename variables appropriately and add exception on improper response parser 2017-07-08 22:37:22 +05:30
Sambhav Kothari
ad9647374d Refactor code for api helpers 2017-07-08 22:28:11 +05:30
Sambhav Kothari
ee97c4e73a Fix copy errors 2017-06-24 17:24:40 +05:30
Sambhav Kothari
d5d31d52bf Add file header 2017-06-24 16:47:23 +05:30
Sambhav Kothari
d9f5a226f6 Fix codacy errors and style issues 2017-06-24 16:38:04 +05:30
Sambhav Kothari
04a987be1d Remove unexpected argument from post api helper 2017-06-24 16:16:12 +05:30
Sambhav Kothari
6ba3d13d84 Fix erronous code: Return data from api functions 2017-06-24 16:08:43 +05:30