

def test_package_write_user(self):
    ' Package, write perms, user. '
    req = self.get_request(self.package, 'rc', 'foo')
    ret = package_versions(self.package, req)
    p2 = self.package2
    self.assertEqual(ret, {
        'pkgs': {
            self.package.filename: self.package.get_url(req),
            self.package2.filename: self.fallback_packages[p2.filename],
        },
    })

dataset/ETHPy150Open mathcamp/pypicloud/tests/test_simple.py TestCacheAlwaysShow.test_package_write_user/original