def test_incomplete_with_filter(self):
        self.user.get_domain_membership(self.TEST_DOMAIN).program_id = self.program.get_id
        self.user.save()

        self.product.program_id = self.program.get_id
        self.product.save()

        create_stock_report(self.facility, {'tp': 100}, date=datetime.utcnow() - timedelta(days=365))

        other_product = Product(
            domain=self.TEST_DOMAIN, name='Test Product2', code_='tp2', unit='each', program_id=self.program.get_id
        )
        other_product.save()
        assign_products_to_location(self.facility, [self.product, other_product])
        generated = list(OnGoingNonReporting(self.TEST_DOMAIN).get_notifications())

        self.assertEqual(len(generated), 1)
        self.assertEqual(generated[0].user.get_id, self.user.get_id)
User with product type filter will get notification all products of that
dataset/ETHPy150Open dimagi/commcare-hq/custom/ewsghana/tests/test_notifications.py/MissingReportNotificationTestCase.test_incomplete_with_filter