
    CadG                     J    d Z ddlmZ ddlmZ  G d dej
                        Zy)z$Tests for stevedore.example2.fields
    )fields)utilsc                       e Zd Zd Zd Zy)TestExampleFieldsc                     t        j                  d      }dj                  |j                  ddd            }dj                  g d      }| j	                  ||       y )Nd    AB)ab
)z: a : Az: b : Br	   r   	FieldListjoinformatassertEqualselfftextexpecteds       E/usr/lib/python3/dist-packages/stevedore/tests/test_example_fields.pytest_simple_itemsz#TestExampleFields.test_simple_items   sS    S!wwqxxc 45699 
 
 	x(    c                     t        j                  d      }dj                  |j                  ddi            }dj                  g d      }| j	                  ||       y )N   r	   namez%a value longer than the allowed widthr   )z: name : a value longerz    than the allowedz	    widthr	   r   r   s       r   test_long_itemz TestExampleFields.test_long_item   s]    R wwqxx>!@ A B99 
  	x(r   N)__name__
__module____qualname__r   r    r   r   r   r      s    )
)r   r   N)__doc__stevedore.example2r   stevedore.testsr   TestCaser   r#   r   r   <module>r(      s"    & !) )r   