#NEWLINE# def test_returns_unavailable_without_stockrecord( self ) : #NEWLINE# #INDENT# policy = self . mixin . availability_policy ( self . product , None ) #NEWLINE# self . assertIsInstance ( policy , availability . Unavailable )