Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests for BPD #3190

Merged
merged 23 commits into from
Mar 31, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
078c583
BPD tests: add basic test framework
arcresu Mar 26, 2019
59e66aa
BPD tests: password command
arcresu Mar 26, 2019
acc3f3e
BPD tests: check all specified commands known
arcresu Mar 26, 2019
acd66ce
BPD tests: run BPD Server with a fake gstplayer
arcresu Mar 26, 2019
9a5be1f
BPD tests: test supported tag types
arcresu Mar 26, 2019
7302cd6
BPD tests: test helper for BPD batch commands
arcresu Mar 27, 2019
5d2b883
BPD tests: test several simple commands
arcresu Mar 27, 2019
7622142
Add a DummyIn::close no-op implementation
arcresu Mar 27, 2019
d9537f2
BPD tests: fix CI failures
arcresu Mar 27, 2019
767441d
BPD tests: improve test helpers
arcresu Mar 28, 2019
2286c0c
BPD tests: run bpd in a subprocess
arcresu Mar 28, 2019
c42c0c0
BPD tests: fix CI failures
arcresu Mar 28, 2019
35bf041
BPD tests: fork and launch beets
arcresu Mar 29, 2019
7c8bbd3
BPD tests: avoid Py3.7-only mp.Process.kill
arcresu Mar 29, 2019
14d0cc3
BPD tests: be more careful with paths
arcresu Mar 29, 2019
dfc5da7
BPD tests: avoid os.fsdecode new in Py3.2
arcresu Mar 29, 2019
4c627cb
[skip travis] BPD tests: add items by path
arcresu Mar 29, 2019
3eaf0f7
BPD tests: use canonical capitalisation of tags
arcresu Mar 29, 2019
a6c976b
BPD tests: small code reformatting
arcresu Mar 30, 2019
2a2d9b5
BPD tests: explicitly close client socket
arcresu Mar 30, 2019
eb5c751
BPD tests: fix GstPlayer mock
arcresu Mar 30, 2019
2e35c27
BPD tests: improve helpers
arcresu Mar 30, 2019
999cf14
BPD tests: change expectedFailure -> skip for nose
arcresu Mar 30, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions test/_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,9 @@ def add(self, s):
else:
self.buf.append(s + '\n')

def close(self):
pass

def readline(self):
if not self.buf:
if self.out:
Expand Down
Loading