<s> from expects import * <EOL> from expects . aliases import * <EOL> from expects . testing import failure <EOL> with describe ( '<STR_LIT>' ) : <EOL> with before . each : <EOL> self . lst = [ '<STR_LIT:bar>' , '<STR_LIT>' ] <EOL> self . itr = iter ( self . lst ) <EOL> self . str = '<STR_LIT>' <EOL> with it ( '<STR_LIT>' ) : <EOL> expect ( self . lst ) . to ( contain ( '<STR_LIT:bar>' ) ) <EOL> with it ( '<STR_LIT>' ) : <EOL> expect ( self . lst ) . to ( contain ( '<STR_LIT:bar>' , '<STR_LIT>' ) ) <EOL> with it ( '<STR_LIT>' ) : <EOL> expect ( self . lst ) . to ( contain ( '<STR_LIT>' , '<STR_LIT:bar>' ) ) <EOL> with it ( '<STR_LIT>' ) : <EOL> expect ( [ { '<STR_LIT:foo>' : <NUM_LIT:1> } , '<STR_LIT:bar>' ] ) . to ( contain ( { '<STR_LIT:foo>' : <NUM_LIT:1> } ) ) <EOL> with it ( '<STR_LIT>' ) : <EOL> expect ( self . itr ) . to ( contain ( '<STR_LIT:bar>' ) ) <EOL> with it ( '<STR_LIT>' ) : <EOL> expect ( self . itr ) . to ( contain ( '<STR_LIT:bar>' , '<STR_LIT>' ) ) <EOL> with it ( '<STR_LIT>' ) : <EOL> expect ( self . str ) . to ( contain ( '<STR_LIT:foo>' ) ) <EOL> with it ( '<STR_LIT>' ) : <EOL> expect ( self . str ) . to ( contain ( '<STR_LIT:foo>' , '<STR_LIT:string>' ) ) <EOL> with it ( '<STR_LIT>' ) : <EOL> expect ( self . lst ) . to ( contain ( a ( str ) ) ) <EOL> with it ( '<STR_LIT>' ) : <EOL> with failure ( "<STR_LIT>" ) : <EOL> expect ( self . lst ) . to ( contain ( '<STR_LIT:bar>' , '<STR_LIT:foo>' ) ) <EOL> with it ( '<STR_LIT>' ) : <EOL> with failure ( "<STR_LIT>" ) : <EOL> expect ( [ ] ) . to ( contain ( '<STR_LIT:foo>' ) ) <EOL> with it ( '<STR_LIT>' ) : <EOL> with failure ( "<STR_LIT>" ) : <EOL> expect ( self . itr ) . to ( contain ( '<STR_LIT:bar>' , '<STR_LIT:foo>' ) ) <EOL> with it ( '<STR_LIT>' ) : <EOL> with failure ( "<STR_LIT>" ) : <EOL> expect ( object ( ) ) . to ( contain ( '<STR_LIT:bar>' ) ) <EOL> with it ( '<STR_LIT>' ) : <EOL> with failure ( "<STR_LIT>" ) : <EOL> expect ( self . lst ) . to ( contain ( be_an ( int ) , have_len ( <NUM_LIT:5> ) ) ) <EOL> with it ( '<STR_LIT>' ) : <EOL> with failure ( "<STR_LIT>" ) : <EOL> expect ( "<STR_LIT>" ) . to ( contain ( '<STR_LIT:bar>' ) ) <EOL> with it ( '<STR_LIT>' ) : <EOL> with failure ( "<STR_LIT>" ) : <EOL> expect ( "<STR_LIT>" ) . to ( contain ( '<STR_LIT:foo>' ) ) <EOL> with context ( '<STR_LIT>' ) : <EOL> with it ( '<STR_LIT>' ) : <EOL> expect ( self . lst ) . not_to ( contain ( '<STR_LIT:foo>' ) ) <EOL> with it ( '<STR_LIT>' ) : <EOL> expect ( self . lst ) . not_to ( contain ( '<STR_LIT:foo>' , '<STR_LIT>' ) ) <EOL> with it ( '<STR_LIT>' ) : <EOL> expect ( self . lst ) . not_to ( contain ( '<STR_LIT:bar>' , '<STR_LIT:foo>' ) ) <EOL> with it ( '<STR_LIT>' ) : <EOL> with failure ( "<STR_LIT>" ) : <EOL> expect ( self . lst ) . not_to ( contain ( '<STR_LIT:bar>' ) ) <EOL> with it ( '<STR_LIT>' ) : <EOL> with failure ( "<STR_LIT>" ) : <EOL> expect ( self . lst ) . not_to ( contain ( '<STR_LIT:bar>' , '<STR_LIT>' ) ) <EOL> with it ( '<STR_LIT>' ) : <EOL> with failure ( "<STR_LIT>" ) : <EOL> expect ( "<STR_LIT>" ) . not_to ( contain ( '<STR_LIT:foo>' ) ) <EOL> with it ( '<STR_LIT>' ) : <EOL> with failure ( "<STR_LIT>" ) : <EOL> expect ( object ( ) ) . not_to ( contain ( '<STR_LIT:bar>' ) ) </s>
