From: W. Trevor King Date: Wed, 8 Sep 2010 20:22:09 +0000 (-0400) Subject: Fix test/jpk_driver.py now that we can load each of the examples. X-Git-Url: http://git.tremily.us/?p=hooke.git;a=commitdiff_plain;h=341d5309bcaafb0e470de0fbba93631f29c27783 Fix test/jpk_driver.py now that we can load each of the examples. --- diff --git a/test/jpk_driver.py b/test/jpk_driver.py index cfc11c9..958942e 100644 --- a/test/jpk_driver.py +++ b/test/jpk_driver.py @@ -39,7 +39,13 @@ Success >>> p = h.playlists.current() >>> for i,curve in enumerate(p.items()): -... print i, [d.info['name'] for d in curve.data] -... # doctest: +REPORT_UDIFF - +... print (i, +... curve.info['raw info']['file-format-version'], +... [d.info['name'] for d in curve.data]) # doctest: +REPORT_UDIFF +(0, '0.5', ['approach', 'retract']) +(1, '0.5', ['approach', 'pause', 'retract']) +(2, '0.2', ['pause-0', 'approach', 'pause-1', 'retract']) +(3, '0.12', ['approach', 'pause-0', 'retract', 'pause-1']) +(4, '0.2', ['pause-0', 'approach', 'pause-1', 'retract']) +(5, '0.12', ['approach', 'pause-0', 'retract', 'pause-1']) """