/usr/lib/python2.6/site-packages/cliff/tests
Edit: /usr/lib/python2.6/site-packages/cliff/tests/test_complete.pyc (6617B)
Ñò
yDVc @ s¼ d Z d d k Z d d k l Z d d k l Z d d k l Z d „ Z d d d „ ƒ YZ d „ Z
d
„ Z d „ Z d „ Z
d
„ Z d „ Z d „ Z d „ Z d „ Z d „ Z d S( s Bash completion tests
iÿÿÿÿN( t App( t CommandManager( t completec C sÞ t i ƒ } | i d i ƒ t i d d g ƒ g ƒ | i d i ƒ t i d d g ƒ g ƒ | i d i ƒ t i d d g ƒ g ƒ | i d i ƒ t i d d g ƒ g ƒ | i d
i ƒ t i d d g ƒ g ƒ d | i ƒ j p t ‚ | i ƒ } d
| d d j p t ‚ d | d d j p t ‚ d | d d j p t ‚ d | d d j p t ‚ d | d d j p t ‚ d | d d j p t ‚ d | d d j p t ‚ d | d d j p t ‚ d S( Ns image deletet option_stringst 1s
image listt 2s image createt 3s volume type createt 4s volume type deletet 5s image volumet imagei s create delete listi t image_createt image_deletei t
image_listi ( R t CompleteDictionaryt add_commandt splitt mockt Mockt get_commandst AssertionErrort get_data( t sott result( ( s8 /tmp/pip-build-lt8jXN/cliff/cliff/tests/test_complete.pyt test_complete_dictionary s* t
FakeStdoutc B s# e Z d „ Z d „ Z d „ Z RS( c C s
g | _ d S( N( t content( t self( ( s8 /tmp/pip-build-lt8jXN/cliff/cliff/tests/test_complete.pyt __init__$ s c C s | i i | ƒ d S( N( R t append( R t text( ( s8 /tmp/pip-build-lt8jXN/cliff/cliff/tests/test_complete.pyt write' s c C s( d } x | i D] } | | } q W| S( Nt ( R ( R R t line( ( s8 /tmp/pip-build-lt8jXN/cliff/cliff/tests/test_complete.pyt make_string* s
( t __name__t
__module__R R R! ( ( ( s8 /tmp/pip-build-lt8jXN/cliff/cliff/tests/test_complete.pyR # s c C s% d } d d
d d d g } | | f S( Ns image serverR t createR
s --eolust servers meta ssht server_meta_deletes --wilsont
server_sshs
--sunlight( s images create( s image_creates --eolus( s servers meta ssh( R&