X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=test%2Fmfp3d_driver.py;h=ba9a3b87bb50537edcfc44f2a4e026e336f823d4;hb=b67e975dfaaa3ad7537859a2fe99d84ff568167e;hp=984007cdc131d0cba2b9f7fd6681f691c2a22244;hpb=f8902c8f687e1f2ce31db180e921f645195b0123;p=hooke.git diff --git a/test/mfp3d_driver.py b/test/mfp3d_driver.py index 984007c..ba9a3b8 100644 --- a/test/mfp3d_driver.py +++ b/test/mfp3d_driver.py @@ -2,25 +2,27 @@ # # 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 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. +# 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 # . """ +>>> import os.path >>> from hooke.hooke import Hooke, HookeRunner >>> h = Hooke() >>> r = HookeRunner() ->>> h = r.run_lines(h, ['load_playlist test/data/vclamp_mfp3d/playlist']) +>>> playlist = os.path.join('test', 'data', 'vclamp_mfp3d', 'playlist') +>>> h = r.run_lines(h, ['load_playlist ' + playlist]) Success