Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Replace instances of reactor pumping with get_success. (#7619)
Browse files Browse the repository at this point in the history
Calls `self.get_success` on all deferred methods instead of abusing `self.pump()`. This has the benefit of working with coroutines, as well as checking that method execution completed successfully.

There are also a few small cleanups that I made in the process.
  • Loading branch information
anoadragon453 authored Jun 3, 2020
1 parent c9507be commit 0188daf
Show file tree
Hide file tree
Showing 3 changed files with 152 additions and 121 deletions.
1 change: 1 addition & 0 deletions changelog.d/7619.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Check that all asynchronous tasks succeed and general cleanup of `MonthlyActiveUsersTestCase` and `TestMauLimit`.
Loading

0 comments on commit 0188daf

Please sign in to comment.