beets/test
Carl Suster ee0c31ba6a bpd: track and log client session details
Keep track of a list of currently-connected clients.

Use `socket.getpeername()` to get an identifier for each connection and
include this in each log message. This function is documented as not
being available on all systems, but it's unclear which systems this
involves.

Also log a message on client connect and disconnect events. If the
disconnection reason is because the client sent a blank line, match MPD
by returning a protocol error then hanging up. Escape curly braces.
2019-04-08 11:28:56 +10:00
..
rsrc Add mb_releasetrackid tag to full.* media files. 2018-05-01 08:37:34 +02:00
__init__.py add missing division future imports 2016-04-16 18:33:54 +02:00
_common.py Add a DummyIn::close no-op implementation 2019-03-31 10:46:14 +11:00
helper.py Fix test harness for named queries 2019-02-17 14:11:40 -05:00
lyrics_download_samples.py s/utf8/utf-8/ in all encoding/decoding contexts 2016-09-06 23:10:24 -04:00
test_acousticbrainz.py Undo from _common import unittest indirection 2016-11-26 18:46:44 -05:00
test_art.py test_art/iTunesStore: log check fix. 2019-01-21 22:49:19 +01:00
test_autotag.py Fix miscellaneous typos 2018-10-09 01:11:06 +01:00
test_bucket.py Undo from _common import unittest indirection 2016-11-26 18:46:44 -05:00
test_config_command.py Undo from _common import unittest indirection 2016-11-26 18:46:44 -05:00
test_convert.py Fixed E501 and E305 PEP8 errors 2017-04-04 09:08:30 +02:00
test_datequery.py Set up date tests for #2652 2018-02-20 22:57:58 -05:00
test_dbcore.py Prototype support for named (pseudo-field) queries 2019-02-17 13:41:05 -05:00
test_discogs.py Fix incorrect indexing of two-sided mediums 2018-04-27 19:28:35 +02:00
test_edit.py Merge pull request #2668 from wordofglass/edit_logic 2017-08-25 15:52:40 +02:00
test_embedart.py updated to pass pep8 checks 2017-10-07 21:28:33 -07:00
test_embyupdate.py Undo from _common import unittest indirection 2016-11-26 18:46:44 -05:00
test_fetchart.py test_fetchart: Fix for hidden files on Windows 2018-12-21 11:27:09 +01:00
test_filefilter.py Style fixes for latest pycodestyle changes 2018-10-24 17:05:38 -04:00
test_files.py Refactored move functions for clarity according to #2682 2017-09-11 17:03:44 +02:00
test_ftintitle.py Undo from _common import unittest indirection 2016-11-26 18:46:44 -05:00
test_hidden.py Undo from _common import unittest indirection 2016-11-26 18:46:44 -05:00
test_hook.py Add test for interpolating byte strings in hook plugin 2019-02-25 14:42:20 +00:00
test_ihate.py Undo from _common import unittest indirection 2016-11-26 18:46:44 -05:00
test_importadded.py Add option to hardlink when importing 2017-02-19 15:56:13 -06:00
test_importer.py add test: from_scratch only removes writeable 2018-07-01 20:23:41 +02:00
test_importfeeds.py Undo from _common import unittest indirection 2016-11-26 18:46:44 -05:00
test_info.py Undo from _common import unittest indirection 2016-11-26 18:46:44 -05:00
test_ipfs.py Fix ipfs test to sort items in order 2017-06-20 16:19:31 -04:00
test_keyfinder.py Undo from _common import unittest indirection 2016-11-26 18:46:44 -05:00
test_lastgenre.py improve tests prefer_specific without canonical 2018-07-01 09:19:36 +02:00
test_library.py Enhance %title (#3059) 2018-11-29 11:30:48 -02:00
test_logging.py Replace blind excepts with generic Exception excepts in tests 2017-04-29 00:12:14 +02:00
test_lyrics.py Style fixes for latest pycodestyle changes 2018-10-24 17:05:38 -04:00
test_mb.py Merge pull request #3022 from beetbox/default-ignore-data-tracks 2018-09-05 23:13:44 -04:00
test_mbsubmit.py Undo from _common import unittest indirection 2016-11-26 18:46:44 -05:00
test_mbsync.py mbsync no longer queries MusicBrainz when the either the mb_albumid or mb_trackid field is invalid 2018-09-09 15:20:26 +10:00
test_mediafile.py Add mb_releasetrackid tag to full.* media files. 2018-05-01 08:37:34 +02:00
test_mediafile_edge.py mediafile._safe_cast: be safer when converting to int 2017-11-19 09:21:07 +01:00
test_metasync.py Undo from _common import unittest indirection 2016-11-26 18:46:44 -05:00
test_mpdstats.py mpdstats: update tests for currentsong 2019-04-06 15:31:03 +11:00
test_permissions.py Undo from _common import unittest indirection 2016-11-26 18:46:44 -05:00
test_pipeline.py Undo from _common import unittest indirection 2016-11-26 18:46:44 -05:00
test_play.py rename --force to --yes in play plugin 2017-04-19 10:51:44 -07:00
test_player.py bpd: track and log client session details 2019-04-08 11:28:56 +10:00
test_playlist.py test: Make music dir of playlist tests Windows-compatible 2019-02-17 21:27:37 +01:00
test_plexupdate.py Undo from _common import unittest indirection 2016-11-26 18:46:44 -05:00
test_plugin_mediafield.py Add missing unittest suite declaration (#2389) 2017-01-14 17:33:36 -08:00
test_plugins.py Remove beets.util.inspect wrapper 2019-04-02 10:22:47 +11:00
test_query.py Fix some brittle query tests 2017-06-20 15:56:33 -04:00
test_random.py random: beets.util.random -> beets.random 2019-04-07 18:46:11 +10:00
test_replaygain.py Replace blind excepts with generic Exception excepts in tests 2017-04-29 00:12:14 +02:00
test_smartplaylist.py Undo from _common import unittest indirection 2016-11-26 18:46:44 -05:00
test_sort.py Undo from _common import unittest indirection 2016-11-26 18:46:44 -05:00
test_spotify.py Appease Flake8 2019-01-22 10:53:18 -08:00
test_template.py Fix #2562: avoid crash with newlines in templates 2017-05-16 14:00:10 -04:00
test_the.py Style fixes for latest pycodestyle changes 2018-10-24 17:05:38 -04:00
test_thumbnails.py Test updates for #2466 fix 2017-03-03 12:10:26 -06:00
test_types_plugin.py Undo from _common import unittest indirection 2016-11-26 18:46:44 -05:00
test_ui.py Fix test_ui:test_version under pytest 2019-03-31 20:22:44 +11:00
test_ui_commands.py Undo from _common import unittest indirection 2016-11-26 18:46:44 -05:00
test_ui_importer.py Undo from _common import unittest indirection 2016-11-26 18:46:44 -05:00
test_ui_init.py Allow exiting object selection early 2018-11-28 17:17:12 +00:00
test_util.py Undo from _common import unittest indirection 2016-11-26 18:46:44 -05:00
test_vfs.py Undo from _common import unittest indirection 2016-11-26 18:46:44 -05:00
test_web.py Avoid weird mutation in web tests 2018-04-27 17:34:18 -04:00
test_zero.py add confirmation for empty query 2016-12-26 14:13:01 -06:00
testall.py Undo from _common import unittest indirection 2016-11-26 18:46:44 -05:00