Fix test/jpk_driver.py now that we can load each of the examples.
[hooke.git] / test / jpk_driver.py
index cfc11c9ed319c3145feb34c78b6bb7e075a6fb0b..958942ecf23d217d2178dcff81258ea5fc369214 100644 (file)
@@ -39,7 +39,13 @@ Success
 <BLANKLINE>
 >>> 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'])
 """