HomePhabricator

Move mocking patch of test_make_stats_for_no_group to setUp method

Authored by JeanFred on Oct 15 2019, 5:08 PM.

Description

Move mocking patch of test_make_stats_for_no_group to setUp method

The unit test was added in 9bd41600 and the mocks as patch decorators.

This moves the patcher to a setUp method, so that we can add more tests
(we could use decorators on the class, but I find this more elegant).

Details

Committed
JeanFredOct 15 2019, 5:08 PM
Parents
R2566:e4c96275c184: Add unit test for get_totals
Branches
Unknown
Tags
Unknown
ChangeId
None