Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Tulsishah committed Oct 18, 2024
1 parent e3b3b74 commit e249797
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions testbench/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -922,6 +922,7 @@ def get_stall_uploads_after_bytes(

return 0, 0, ""


def get_retry_uploads_error_after_bytes(
database, request, context=None, transport="HTTP"
):
Expand Down
3 changes: 2 additions & 1 deletion tests/test_testbench_retry.py
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ def test_write_retry_test_stall_after_bytes(self):
}
}
),
content_type="application/json"
content_type="application/json",
)
self.assertEqual(response.status_code, 200)
self.assertTrue(
Expand Down Expand Up @@ -761,6 +761,7 @@ def test_write_retry_test_stall_after_bytes(self):
self.assertLess(elapsed_time, 1)
self.assertEqual(response.status_code, 200, msg=response.data)


class TestTestbenchRetryGrpc(unittest.TestCase):
def setUp(self):
rest_server.db.clear()
Expand Down

0 comments on commit e249797

Please sign in to comment.