def test_effective_version_saved(self):
        effective_version_saved(None, self.effective_version)

        self.assertIn('http://localhost/reg-landing/1002/', CACHE_PURGED_URLS)
        self.assertIn('http://localhost/reg-landing/1002/4/',
                      CACHE_PURGED_URLS)
        self.assertIn('http://localhost/reg-landing/1002/versions/',
                      CACHE_PURGED_URLS)
    def test_effective_version_saved(self):
        effective_version_saved(None, self.effective_version)

        self.assertIn(
            'http://localhost/reg-landing/1002/',
            CACHE_PURGED_URLS
        )
        self.assertIn(
            'http://localhost/reg-landing/1002/4/',
            CACHE_PURGED_URLS
        )
        self.assertIn(
            'http://localhost/reg-landing/1002/versions/',
            CACHE_PURGED_URLS
        )