/usr/lib/python2.6/site-packages/openstackclient/tests/compute/v2
Edit: /usr/lib/python2.6/site-packages/openstackclient/tests/compute/v2/test_host.pyc (2710B)
Ńň
ţWc @ sS d d k l Z d d k l Z d e i f d YZ d e f d YZ d S( i˙˙˙˙( t host( t fakest TestHostc B s e Z d Z RS( c C s9 t t | i | i i i i | _ | i i d S( N( t superR t setUpt appt client_managert computet hostst host_mockt
reset_mock( t self( ( sZ /tmp/pip-build-iUCeBS/python-openstackclient/openstackclient/tests/compute/v2/test_host.pyR s ( t __name__t
__module__R ( ( ( sZ /tmp/pip-build-iUCeBS/python-openstackclient/openstackclient/tests/compute/v2/test_host.pyR s t TestHostSetc B s# e Z d Z d Z d Z RS( c C sb t t | i t i i | _ | i | i i _ d | i i _ t i | i
d | _ d S( N( R R R t
compute_fakest FakeHostt create_one_hostR R t gett return_valuet Nonet updatet SetHostR t cmd( R ( ( sZ /tmp/pip-build-iUCeBS/python-openstackclient/openstackclient/tests/compute/v2/test_host.pyR s
c C s t | i i g } d t | i i f g } | i | i | | } | i i | } | i | h } | i i i | i i | d S( NR (
t strR t idt check_parserR t take_actiont assertIsNoneR R t assert_called_with( R t arglistt
verifylistt parsed_argst resultt body( ( sZ /tmp/pip-build-iUCeBS/python-openstackclient/openstackclient/tests/compute/v2/test_host.pyt test_host_set_no_option) s
c C sł d d t | i i g } d t f d t f d t | i i f g } | i | i | | } | i i | } | i | h t d 6t d 6} | i i
i | i i | d S( Ns --enables --disable-maintenancet enablet enable_maintenanceR t statust maintenance_mode( R R R t Truet FalseR R R R R R R ( R R R R R! R" ( ( sZ /tmp/pip-build-iUCeBS/python-openstackclient/openstackclient/tests/compute/v2/test_host.pyt
test_host_set9 s
( R R
R R# R* ( ( ( sZ /tmp/pip-build-iUCeBS/python-openstackclient/openstackclient/tests/compute/v2/test_host.pyR s N( t openstackclient.compute.v2R t openstackclient.tests.compute.v2R R t
TestComputev2R R ( ( ( sZ /tmp/pip-build-iUCeBS/python-openstackclient/openstackclient/tests/compute/v2/test_host.pyt
s