X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/7b32e917cba7c78d74297b2aefaf823ed262a921..601b42c1d28069afd8a8ba694baefb76e6ea5171:/tests/dump.py diff --git a/tests/dump.py b/tests/dump.py index 8401840..ff28a0f 100755 --- a/tests/dump.py +++ b/tests/dump.py @@ -1,7 +1,7 @@ #! /usr/bin/env python # # This file is part of DisOrder. -# Copyright (C) 2007 Richard Kettlewell +# Copyright (C) 2007, 2008 Richard Kettlewell # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -24,6 +24,7 @@ def test(): """Exercise database dumper""" dtest.start_daemon() dtest.create_user() + dtest.rescan() c = disorder.client() track = "%s/Joe Bloggs/First Album/02:Second track.ogg" % dtest.tracks dump = "%s/dumpfile" % dtest.testroot @@ -55,7 +56,6 @@ def test(): "--dump", dump]) print " changing track pref" c.set(track, "foo", "after dump"); - print c.get(track, "foo") assert c.get(track, "foo") == "after dump", "checking track foo=after dump" print " changing global pref" c.setglobal("foo", "after dump");