HomePhabricator

Add unit test for `get_property_info_no_grouping`

Authored by JeanFred on Oct 14 2019, 7:40 PM.

Description

Add unit test for get_property_info_no_grouping

  • Add test class SparqlCountTest which inherits from SparqlQueryTest and mocks the return value of the select method
  • Add a test for get_property_info_no_grouping, which tests the contents of the query generated (and the result but that not very hard).

Details

Committed
JeanFredOct 14 2019, 7:40 PM
Parents
R2566:3f9e743445de: Remove useless loop in `_get_count_from_sparql`
Branches
Unknown
Tags
Unknown
ChangeId
None