Skip to content

Instantly share code, notes, and snippets.

@notmyname
Created August 18, 2016 03:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save notmyname/0231af45c669b744eefe8e3104673363 to your computer and use it in GitHub Desktop.
Save notmyname/0231af45c669b744eefe8e3104673363 to your computer and use it in GitHub Desktop.
Reset AccountReaper stats in __init__
Make the AccountReaper __init__ method reset its stats variables.
This saves the unit test having to initialise the stats variables.
Also add more asserts to some AccountReaper test cases.
Change-Id: Iea112962d89ebfa3450f43b2a28ac8e8ed8b07b0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment