'Basic test of the partition_group_info accessor function'

@ddt.data((True, 1), (False, 3))
@ddt.unpack
def test_get_group_info_for_cohort_queries(self, use_cached, num_sql_queries):

    self._link_cohort_partition_group(self.first_cohort, self.partition_id, self.group1_id)
    with self.assertNumQueries(num_sql_queries):
        for __ in range(3):
            self.assertIsNotNone(cohorts.get_group_info_for_cohort(self.first_cohort, use_cached=use_cached))
