

def test_nonexistant_snapshot(self):
    project = self.create_project()
    resp = self.client.post(self.get_endpoint_path(project.id))
    assert (resp.status_code == 404)

dataset/ETHPy150Open dropbox/changes/tests/changes/api/test_cached_snapshot_details.py CachedSnapshotClusterDetailsAPITestCase.test_nonexistant_snapshot/original