Don't assume you know which sJPK egments will be created.
[hooke.git] / test / flat_filter_playlist.py
index d16c9b5e08ba9d82a4033ecd840d2d0ce2baea50..d84f19c69b333efa409809e533b86cb1b06a1188 100644 (file)
 >>> h = Hooke()
 >>> r = HookeRunner()
 >>> h = r.run_lines(h, ['load_playlist test/data/vclamp_picoforce/playlist']) # doctest: +ELLIPSIS
-<FilePlaylist playlist.hkp>
+<FilePlaylist PicoForce>
 Success
 <BLANKLINE>
->>> h = r.run_lines(h, ['flat_filter_playlist']) # doctest: +ELLIPSIS
+>>> h = r.run_lines(h, ['flat_filter_playlist --distance_column "z piezo (m)" --deflection_column "deflection (m)"']) # doctest: +ELLIPSIS
 <FilePlaylist playlist-0>
 Success
 <BLANKLINE>
@@ -32,7 +32,7 @@ Success
 >>> h.playlists.current().name
 'playlist-0'
 >>> h.playlists.current().path
-'test/data/vclamp_picoforce/playlist-0.hkp'
+u'test/data/vclamp_picoforce/playlist-0.hkp'
 >>> len(h.playlists.current())
 0