def test_correct_collection_list_for_usergroup(self):
        request = self.factory.get('/ui/collections/')
        request.user = self.user
        response = CollectionListView.as_view()(request)
        collection_list = response.context_data["collection_list"]
        self.assertEqual(1, len(collection_list))
        self.assertEqual(self.collection1, collection_list[0])
        self.assertEqual(1, collection_list[0].num_seedsets)
Test present group
dataset/ETHPy150Open gwu-libraries/sfm-ui/sfm/ui/test_views.py/CollectionListViewTests.test_correct_collection_list_for_usergroup--crossover with--dataset/ETHPy150Open saltstack/salt/tests/unit/states/postgres_privileges_test.py/PostgresPrivilegesTestCase.test_present_group