def tearDown(self): CreditAdjustment.objects.all().delete() LineItem.objects.all().delete() Invoice.objects.all().delete() generator.delete_all_subscriptions() generator.delete_all_accounts() super(TestCreditAdjustmentValidation, self).tearDown()
def tearDown(self): self.billing_contact.delete() self.dimagi_user.delete() self.domain.delete() generator.delete_all_subscriptions() generator.delete_all_accounts() super(TestSubscription, self).tearDown()
def tearDown(self): CreditAdjustment.objects.all().delete() CreditLine.objects.all().delete() BillingRecord.objects.all().delete() LineItem.objects.all().delete() SubscriptionAdjustment.objects.all().delete() Invoice.objects.all().delete() generator.delete_all_subscriptions() generator.delete_all_accounts() self.billing_contact.delete() self.dimagi_user.delete() self.domain.delete() super(BaseInvoiceTestCase, self).tearDown()
def tearDownClass(cls): generator.delete_all_subscriptions() generator.delete_all_accounts() cls.base_domain.delete() cls.user.delete() super(TestSubscriptionProperties, cls).tearDownClass()
def tearDown(self): generator.delete_all_subscriptions() generator.delete_all_accounts() super(TestExplicitCommunitySubscriptions, self).tearDown()
def tearDown(self): self.domain.delete() self.admin_user.delete() generator.delete_all_subscriptions() generator.delete_all_accounts() super(TestUserRoleSubscriptionChanges, self).tearDown()
def tearDown(self): generator.delete_all_subscriptions() generator.delete_all_accounts() super(TestRenewSubscriptions, self).tearDown() self.admin_user.delete()
def tearDown(self): self.project.delete() self.admin_user.delete() generator.delete_all_subscriptions() generator.delete_all_accounts() super(TestSubscriptionPermissionsChanges, self).tearDown()