

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

dataset/ETHPy150Open mathcamp/pypicloud/tests/test_simple.py PackageReadTestBase.should_404/VarMisuse@29/52 `ret`->`request`