HomePhabricator

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

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

[IMP] 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 commit 6587f3079da1efed6953f5854d748bac93376702

Bug: T213581
Change-Id: I7c94e94e89169aa64887830c6ce72f047edf77a1