

def should_403(self, request):
    ' When requested, the endpoint should return a 403 '
    ret = package_versions(self.package, request)
    self.assertEqual(ret.status_code, 403)

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