File: playerctl-cli

package info (click to toggle)
playerctl 2.4.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 704 kB
  • sloc: ansic: 5,157; python: 1,107; xml: 198; sh: 133; makefile: 62
file content (26 lines) | stat: -rwxr-xr-x 862 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh

set -efu

export LC_ALL=C.UTF-8

export HOME="$AUTOPKGTEST_TMP"

cp -a test $AUTOPKGTEST_TMP
cd "$AUTOPKGTEST_TMP"

# dbus-run-session pytest test \
#         --override-ini="timeout=10" \
#         --override-ini="asyncio_mode=auto" \
#         --override-ini="asyncio_default_fixture_loop_scope=function"

dbus-run-session pytest test \
    --override-ini="timeout=10" \
    --override-ini="asyncio_mode=auto" \
    --override-ini="asyncio_default_fixture_loop_scope=function" \
    --deselect test/test_basics.py::test_system_list_players \
    --deselect test/test_daemon.py::test_daemon_commands \
    --deselect test/test_daemon.py::test_daemon_follow \
    --deselect test/test_daemon.py::test_daemon_shift_simple \
    --deselect test/test_daemon.py::test_daemon_shift_no_player \
    --deselect test/test_daemon.py::test_active_player_change