Exemple #1
0
    def test_footer_business_links_no_marketing_query_params(self):
        """
        Enterprise marketing page values returned should be a concatenation of ROOT and
        ENTERPRISE marketing url values when ENTERPRISE_MARKETING_FOOTER_QUERY_PARAMS
        is not set.
        """

        business_links = _footer_business_links()
        assert business_links[0]['url'] == 'https://edx.org/enterprise'
Exemple #2
0
    def test_footer_business_links_no_marketing_query_params(self):
        """
        Enterprise marketing page values returned should be a concatenation of ROOT and
        ENTERPRISE marketing url values when ENTERPRISE_MARKETING_FOOTER_QUERY_PARAMS
        is not set.
        """

        business_links = _footer_business_links()
        assert business_links[0]['url'] == 'https://edx.org/enterprise'