def test_community_no_charges_no_invoice(self):
        domain = generator.arbitrary_domain()
        tasks.generate_invoices()
        self.assertRaises(ObjectDoesNotExist,
                          lambda: Invoice.objects.get(subscription__subscriber__domain=domain.name))
        domain.delete()
Instantiate and return an ImageClient subclass
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/accounting/tests/test_invoicing.py/TestInvoice.test_community_no_charges_no_invoice--crossover with--dataset/ETHPy150Open glue-viz/glue/glue/viewers/image/qt/viewer_widget.py/ImageWidgetBase.make_client