Apply black formatting to test_invoice_deletion.py
This commit is contained in:
parent
3ae1b9bed9
commit
0422fcdc98
1 changed files with 1 additions and 3 deletions
|
|
@ -181,9 +181,7 @@ class TestInvoiceDeletion(unittest.TestCase):
|
|||
|
||||
@patch("make_post_sell.lib.crypto_watcher.delete_invoice_by_id")
|
||||
@patch("make_post_sell.lib.crypto_watcher.log")
|
||||
def test_handle_invoice_deletion_returns_false(
|
||||
self, mock_log, mock_delete_invoice
|
||||
):
|
||||
def test_handle_invoice_deletion_returns_false(self, mock_log, mock_delete_invoice):
|
||||
"""Test that function handles when delete_invoice_by_id returns failure."""
|
||||
mock_delete_invoice.return_value = {
|
||||
"success": False,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue