Commit Graph

25 Commits

Author SHA1 Message Date
Stein Magnus Jodal
d724001f5b tests: Move mopidy.backends.dummy to tests.dummy_backend 2014-01-11 15:49:22 +01:00
Stein Magnus Jodal
033e3ab813 jsonrpc: Test application error responses again
The test was modified to not fail after a refactoring, making it not test what
it was intended to test at all. This reverts the changes and updates the test
in another way, keeping the original intention.
2013-10-19 20:53:02 +02:00
Javier Domingo Cansino
cd83d7a0d9 tests: Removing accidental print statement in testcase 2013-08-09 10:08:52 +02:00
Javier Domingo Cansino
11d82056a9 core: Merged tracklist_position to index inside TracklistController
docs: Updated changelog.rst
2013-08-09 09:15:54 +02:00
Javier Domingo Cansino
4db3999371 Cleanup of PlaybackController to be more specific on the current track and
moved those functions to TracklistController, which may control all related
to the tracks. Updated tests too.
2013-08-07 10:44:22 +02:00
Stein Magnus Jodal
de84fdfef4 Remove hacks required by #302 to run on older Python 2.6.x 2013-04-29 19:52:29 +02:00
Stein Magnus Jodal
52ee456692 tests: Import unittest directly from the stdlib 2013-04-29 19:45:25 +02:00
Thomas Adamcik
6f39bde566 config: Start passing dummy config explicitly to audio/backends/frontends. 2013-04-02 19:14:46 +02:00
Stein Magnus Jodal
e6460b6945 jsonrpc: Handle Pykka's CallableProxy objects as regular methods 2013-03-30 21:01:01 +01:00
Stein Magnus Jodal
19f4ea8889 Fix one more kwargs dict (#302) 2013-01-07 21:50:40 +01:00
Stein Magnus Jodal
2eb9ad710a core: Add 'include_tracks' argument to 'get_playlists()' 2013-01-06 21:04:27 +01:00
Stein Magnus Jodal
6008a53027 tests: Update JSON-RPC introspection test to match changes core API 2012-12-17 15:42:12 +01:00
Stein Magnus Jodal
69ede85959 tests: Exception messages on 2.6 and 2.7 differs 2012-11-25 23:24:04 +01:00
Stein Magnus Jodal
961fce13e5 tests: Make it work on Python 2.6 (try 2) 2012-11-25 23:04:09 +01:00
Stein Magnus Jodal
42981b94b6 tests: dict comp. is not supported in Python 2.6 2012-11-25 22:16:46 +01:00
Stein Magnus Jodal
160626b364 jsonrpc: Give explicit error if calling method without object path 2012-11-25 21:51:59 +01:00
Stein Magnus Jodal
8f604204da jsonrpc: Don't allow objects at the root 2012-11-25 21:42:28 +01:00
Stein Magnus Jodal
50814d3929 jsonrpc: Explain why a method wasn't found 2012-11-25 21:23:55 +01:00
Stein Magnus Jodal
609fdc46ca jsonrpc: Explain why call to private method failed 2012-11-25 21:13:55 +01:00
Stein Magnus Jodal
7f987cb1e2 jsonrpc: Lookup methods using the objects map directly 2012-11-25 20:36:04 +01:00
Stein Magnus Jodal
40f4a8181d jsonrpc: Wrapper takes a mapping between mounts and objects
This is analogous to how the inspector takes a mapping between mounts and
classes.
2012-11-25 08:03:26 +01:00
Stein Magnus Jodal
569ee6c5f3 jsonrpc: Add inspector that describes the available API 2012-11-24 00:57:08 +01:00
Stein Magnus Jodal
61d6de2378 jsonrpc: Support methods on the root object 2012-11-22 15:30:34 +01:00
Stein Magnus Jodal
6e2ffb0820 jsonrpc: Make dict returns from plain objects work 2012-11-22 12:11:22 +01:00
Stein Magnus Jodal
b038c4c2db Add generic JSON-RPC 2.0 object wrapper
This can wrap multiple objects, which can be both plain objects and Pykka
actors. To my knowledge, everything in the spec is supported.
2012-11-21 23:51:05 +01:00