Skip to content

Commit

Permalink
flake resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashutosh619-sudo committed Aug 29, 2024
1 parent 71f7129 commit f8dc902
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_quickbooks_online/test_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -1109,7 +1109,6 @@ def test_skipping_bill_creation(db, mocker):
expense_group.exported_at = None
expense_group.save()


error = Error.objects.filter(workspace_id=workspace_id, expense_group=expense_group).delete()

error = Error.objects.create(
Expand Down Expand Up @@ -1142,7 +1141,6 @@ def test_skipping_bill_creation(db, mocker):
def test_skipping_journal_creation(db, mocker):
workspace_id = 4


expense_group = ExpenseGroup.objects.get(id=23)
expense_group.exported_at = None
expense_group.save()
Expand Down Expand Up @@ -1218,7 +1216,7 @@ def test_skipping_credit_card_charge_creation(db, mocker):
expense_group = ExpenseGroup.objects.get(id=17)
expense_group.exported_at = None
expense_group.save()

credit = CreditCardPurchase.objects.get(expense_group_id=17)
CreditCardPurchaseLineitem.objects.filter(credit_card_purchase=credit).delete()
TaskLog.objects.filter(credit_card_purchase=credit).update(credit_card_purchase=None)
Expand Down

0 comments on commit f8dc902

Please sign in to comment.