chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Synchronize with disorder.dev
[disorder]
/
tests
/
play.py
diff --git
a/tests/play.py
b/tests/play.py
index 43deaff7dc9d04c794fc99957e8cec0190b7b19a..35cc7a3fa384881d57db1d21c48796bdb1a5d7f5 100755
(executable)
--- a/
tests/play.py
+++ b/
tests/play.py
@@
-1,4
+1,4
@@
-#! /usr/bin/env python
+#! /usr/bin/env python
-u
#
# This file is part of DisOrder.
# Copyright (C) 2007, 2008 Richard Kettlewell
#
# This file is part of DisOrder.
# Copyright (C) 2007, 2008 Richard Kettlewell
@@
-24,6
+24,7
@@
def test():
"""Play some tracks"""
dtest.start_daemon()
dtest.create_user()
"""Play some tracks"""
dtest.start_daemon()
dtest.create_user()
+ dtest.rescan() # ensure all files are scanned
c = disorder.client()
c.random_disable()
assert c.random_enabled() == False
c = disorder.client()
c.random_disable()
assert c.random_enabled() == False