X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=test%2Fload_playlist.py;h=1bce4f3f24ed24a696c7d10976bb0b0ff3363da8;hb=15fd82f73ab0c89bba823d89eb042ad5a1fa0e3e;hp=9f57285af8d03e1623fc99fd5ec3a55421814204;hpb=0b199329a4c810dc984e4c0217dac96e18382485;p=hooke.git diff --git a/test/load_playlist.py b/test/load_playlist.py index 9f57285..1bce4f3 100644 --- a/test/load_playlist.py +++ b/test/load_playlist.py @@ -1,8 +1,27 @@ +# Copyright (C) 2010 W. Trevor King +# +# This file is part of Hooke. +# +# Hooke is free software: you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# Hooke is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General +# Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with Hooke. If not, see +# . + """ ->>> from hooke.hooke import Hooke +>>> from hooke.hooke import Hooke, HookeRunner >>> h = Hooke() ->>> h.run_lines(['load_playlist test/data/test']) # doctest: +ELLIPSIS -[] +>>> r = HookeRunner() +>>> h = r.run_lines(h, ['load_playlist test/data/test']) # doctest: +ELLIPSIS + Success """