#NEWLINE# def test_condition_or( self ) : #NEWLINE# #INDENT# r = self . table . scan ( FilterExpression = ( Attr ( 'MyHashKey' ) . eq ( 'mykey2' ) | Attr ( 'MyString' ) . eq ( 'mystring' ) ) ) #NEWLINE# item = r [ 'Items' ] [ 0 ] #NEWLINE# self . assertTrue ( ( ( item [ 'MyHashKey' ] == 'mykey2' ) or ( item [ 'MyString' ] == 'mystring' ) ) )