Ran update_copyright.py
[hooke.git] / test / picoforce_driver.py
index d1345e17dd53e92ba3fc36344ebf9c6c9e031169..ffe823c1cd64b7e2cf9489ce8403cf8efcfee943 100644 (file)
@@ -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
 # <http://www.gnu.org/licenses/>.
 
 """
+>>> import os.path
 >>> from hooke.hooke import Hooke, HookeRunner
 >>> h = Hooke()
 >>> r = HookeRunner()
->>> h = r.run_lines(h, ['load_playlist test/data/vclamp_picoforce/playlist'])
+>>> playlist = os.path.join('test', 'data', 'vclamp_picoforce', 'playlist')
+>>> h = r.run_lines(h, ['load_playlist ' + playlist])
 <FilePlaylist playlist.hkp>
 Success
 <BLANKLINE>