projects
/
hooke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b41663c
)
Fix 'flat filter peaks' CommandMessage declaration in test/apply_command_stack_to_pla...
author
W. Trevor King
<wking@drexel.edu>
Fri, 27 Aug 2010 22:39:44 +0000
(18:39 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Fri, 27 Aug 2010 22:39:44 +0000
(18:39 -0400)
test/apply_command_stack_to_playlist.py
patch
|
blob
|
history
diff --git
a/test/apply_command_stack_to_playlist.py
b/test/apply_command_stack_to_playlist.py
index 483d03249980baa4a75af27377bbdea754d4a181..e430f16ac4d55fa742b994d14215798751f8c88c 100644
(file)
--- a/
test/apply_command_stack_to_playlist.py
+++ b/
test/apply_command_stack_to_playlist.py
@@
-106,7
+106,8
@@
unloading curve 20071120a_i27_t33.102
Test `apply command stack to playlist` without evaluating.
>>> stack = CommandStack([
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}
... ])
>>> 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>...}>
... 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`.
Test `clear curve command stack`.