change instance delimiter to "."

Rather than ".instance".

fixes #198
This commit is contained in:
Tony Crisci
2020-11-04 11:10:19 -05:00
parent 2fdbb1ad5e
commit d0a59e22de
6 changed files with 29 additions and 26 deletions

View File

@@ -21,7 +21,7 @@ async def test_commands(bus_address):
def get_called(cmd):
return getattr(mpris, f'{cmd.replace("-", "_")}_called')
playerctl = PlayerctlCli(bus_address)
playerctl = PlayerctlCli(bus_address, debug=True)
results = await asyncio.gather(*(playerctl.run(f'-p commands {cmd}')
for cmd in commands + setters))