

def setUp(self):
    get = patch('pypicloud.views.simple.get_fallback_packages').start()
    p2 = self.package2
    self.fallback_packages = get.return_value = {
        p2.filename: (self.fallback_url + p2.filename),
    }

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