I looked at the code and I it appears that the place that relies on a specific subcategory is
"test_recommended_for_you_display_recommendations_opted_in". So I think instead of hardcoding it in window.py
we should either set it in the test that needs it explicitely via self.subcat_view.set_subcategory() or by
passing a parameter to get_test_window_catview() so that in RecommendationsTestCase we can explicitely specify
that the subcategory is required. This makes the connection of what needs it more explicit and window.py more
generic. Could you please update that?
Thanks for your branch.
I looked at the code and I it appears that the place that relies on a specific subcategory is ed_for_ you_display_ recommendations _opted_ in". So I think instead of hardcoding it in window.py view.set_ subcategory( ) or by window_ catview( ) so that in Recommendations TestCase we can explicitely specify
"test_recommend
we should either set it in the test that needs it explicitely via self.subcat_
passing a parameter to get_test_
that the subcategory is required. This makes the connection of what needs it more explicit and window.py more
generic. Could you please update that?