Commit Graph

18 Commits (master)

Author SHA1 Message Date
Phil Howard 1c8da1b576 Add test for play_stop for #6 2020-07-15 11:50:51 +01:00
Phil Howard 00762da445 Fix config test to match default enabled state 2020-07-14 15:20:16 +01:00
Phil Howard 4cbbe2dbd1 Update handler tests to pass settings 2020-03-25 12:16:18 +00:00
Phil Howard 9499f2e6ee Correct linting errors and tests 2020-03-25 11:08:10 +00:00
Phil Howard e5a18757ba Add support for additional per pin event options 2020-03-25 10:47:49 +00:00
Phil Howard 6b903871e2 Fix tests hanging 2020-01-23 13:53:49 +00:00
Phil Howard 844cead5ba Black/Flake8 linting fixes 2020-01-23 13:44:58 +00:00
Phil Howard c669f5e35c Supplied dummy Mopidy Core to frontend for testing
This currently uses three files copy-n-pasted from upstream Mopidy to provide dummy interfaces for mixer, backend and audio.

These dummy files seem a little janky- should they be part of a mopidy-test package so that they stay in-sync with Mopidy's API? Since otherwise tests may?? pass that fail against the real Mopidy. Maybe?
2020-01-23 13:35:08 +00:00
Phil Howard 07759149d6 Apply black reformatting suggestions 2020-01-23 12:46:18 +00:00
Phil Howard 6aa1e7a8b6 Expand frontend test coverage 2020-01-23 11:55:28 +00:00
Phil Howard 68abdf508b dos2unix crlf -> lf 2020-01-23 11:55:28 +00:00
Phil Howard 145fbf38d8 Use unittest.mock instead of mock 2020-01-23 11:55:28 +00:00
Phil Howard eacc95c9d7 isort -rc . && black . 2020-01-23 11:55:27 +00:00
Phil Howard 87e0d91201 black . 2020-01-23 11:55:27 +00:00
Phil Howard ba32cf7df8 pyupgrade --py37-plus **/*.py 2020-01-23 11:55:27 +00:00
Phil Howard b23b666a34 Test cleanup and fixes 2019-10-10 15:52:43 +01:00
Phil Howard cfdf07e3b6 Make magic happen 2019-10-10 13:16:37 +01:00
Phil Howard 2aa3e5b28b Initial commit from CookieCutter project 2019-10-10 11:22:34 +01:00