HomePhabricator

[IMPR] Test the /month-rank/<month>/json route
1ae50f83434cUnpublished

Authored by samuelguebo on Apr 18 2019, 1:54 PM.

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

[IMPR] Test the /month-rank/<month>/json route

  • Adding a test method for /month-rank/<month>/ with json parameter
  • A bit of refactoring in rank_by_month()
  • Fixing regression in rank_by_month(), introduced in Ia583a4bbb3339e668

Bug: T213581
Change-Id: I7c94e94e89169aa64887830c6ce72f047edf77a1