Fix 'flat filter peaks' CommandMessage declaration in test/apply_command_stack_to_pla...
authorW. Trevor King <wking@drexel.edu>
Fri, 27 Aug 2010 22:39:44 +0000 (18:39 -0400)
committerW. Trevor King <wking@drexel.edu>
Fri, 27 Aug 2010 22:39:44 +0000 (18:39 -0400)
test/apply_command_stack_to_playlist.py

index 483d032..e430f16 100644 (file)
@@ -106,7 +106,8 @@ unloading curve 20071120a_i27_t33.102
 Test `apply command stack to playlist` without evaluating.
 
 >>> stack = CommandStack([
-...         CommandMessage('flat_filter_peaks --block retract --min_points 1'),
+...         CommandMessage('flat filter peaks',
+...                        {'block':'retract', 'min points':1}),
 ...         ])
 >>> h.run_command('apply command stack to playlist',
 ...     {'commands': stack, 'evaluate': False}
@@ -126,7 +127,7 @@ engine message from apply command stack to playlist
 ...     print c  # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE, +REPORT_UDIFF
 <CommandMessage zero surface contact point
   {..., curve: <Curve 20071120a_i27_t33.100>...}>
-<CommandMessage flat_filter_peaks --block retract --min_points 1>
+<CommandMessage flat filter peaks {block: retract, min points: 1}>
 
 Test `clear curve command stack`.