def test_partial_product_stockout(self):
        other_product = Product(domain=self.TEST_DOMAIN, name='Test Product2', code_='tp2', unit='each')
        other_product.save()

        assign_products_to_location(self.facility, [self.product, other_product])

        create_stock_report(self.facility, {'tp': 0})
        create_stock_report(self.facility, {'tp2': 10})

        generated = list(OnGoingStockouts(self.TEST_DOMAIN).get_notifications())
        self.assertEqual(len(generated), 1)
        self.assertEqual(generated[0].user.get_id, self.user.get_id)
Multiple products but only one is stocked out. Should be reported.
dataset/ETHPy150Open dimagi/commcare-hq/custom/ewsghana/tests/test_notifications.py/StockoutReportNotificationTestCase.test_partial_product_stockout