

def should_cache(self, request):
    ' When requested, the endpoint should serve the fallback packages '
    ret = package_versions(self.package, request)
    self.assertEqual(ret, {
        'pkgs': self.fallback_packages,
    })

dataset/ETHPy150Open mathcamp/pypicloud/tests/test_simple.py PackageReadTestBase.should_cache/original