Ran update_copyright.py.
[hooke.git] / test / flat_filter_playlist.py
index d16c9b5e08ba9d82a4033ecd840d2d0ce2baea50..bca05ffce1253121b8cef27725fb97e897f53b32 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2010 W. Trevor King <wking@drexel.edu>
+# Copyright (C) 2010-2012 W. Trevor King <wking@drexel.edu>
 #
 # This file is part of Hooke.
 #
 >>> 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