#NEWLINE# def test_product_which_doesnt_track_stock( self ) : #NEWLINE# #INDENT# product_class = models . ProductClass . objects . create ( name = 'Digital' , track_stock = False ) #NEWLINE# product = factories . create_product ( product_class = product_class , price = D ( '1.99' ) , num_in_stock = None ) #NEWLINE# info = self . strategy . fetch_for_product ( self ) #NEWLINE# self . assertTrue ( info . availability . is_available_to_buy )