def test_org_list_queryset(self):
        self.assertEqual(1, BaseOrganizationList(
                request=self.kurt_request).get_queryset().count())
        self.assertEqual(2, BaseOrganizationList(
                request=self.dave_request).get_queryset().count())
Ensure only active organizations belonging to the user are listed
dataset/ETHPy150Open bennylope/django-organizations/tests/test_views.py/BaseViewTests.test_org_list_queryset