def test_seed_detail_collection(self):
        request = self.factory.get(reverse("seed_detail", args=[self.seed.pk]))
        request.user = self.user
        response = SeedDetailView.as_view()(request, pk=self.seed.pk)
        self.assertEqual(self.collection, response.context_data["collection"])
test that collection loaded into seed detail view
dataset/ETHPy150Open gwu-libraries/sfm-ui/sfm/ui/test_views.py/SeedDetailViewTests.test_seed_detail_collection