-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(peer_loop): Introduce ability to mock time
Fix an abandoned test in peer loop by allowing the mocking of time. Now, in a test run, current time/mocked time can be read with `self.now()` on the PeerLoopHandler. This allows us to test time-dependencies in the peer loop.
- Loading branch information
1 parent
8a988df
commit 9afad22
Showing
1 changed file
with
80 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters