#NEWLINE# def test_incomplete_report( self ) : #NEWLINE# #INDENT# create_stock_report ( self . facility , { #NEWLINE# #INDENT# 'tp' : 100 , #NEWLINE# #UNINDENT# } , date = datetime . utcnow ( ) ) #NEWLINE# self . product . program_id = self . program . get_id #NEWLINE# self . product . save ( ) #NEWLINE# other_product = Product ( domain = self . TEST_DOMAIN , name = 'Test Product2' , code_ = 'tp2' , unit = 'each' , program_id = self . program . get_id ) #NEWLINE# other_product . save ( ) #NEWLINE# assign_products_to_location ( self . facility , [ self . product , other_product ] ) #NEWLINE# generated = list ( OnGoingNonReporting ( self . TEST_DOMAIN ) . get_notifications ( ) ) #NEWLINE# self . assertEqual ( len ( generated ) , 0 )