passerelle/tests/test_gdc.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
257 B
Python
Raw Permalink Normal View History

import pytest
from passerelle.apps.gdc import models
from passerelle.utils.jsonresponse import APIError
def test_phpserialize_loads():
with pytest.raises(APIError, match='Could not deserialize GDC response'):
models.phpserialize_loads('aaa')