コード例 #1
0
def test_exposure_type_eq_str_gives_correct_json_representation():
    _filter = ExposureType.eq(ExposureType.APPLICATION_READ)
    expected = IS.format("exposure", "ApplicationRead")
    assert str(_filter) == expected
コード例 #2
0
ファイル: test_exposure_filter.py プロジェクト: amoravec/py42
def test_exposure_type_eq_str_gives_correct_json_representation():
    _filter = ExposureType.eq("test_exposure")
    expected = IS.format("exposure", "test_exposure")
    assert str(_filter) == expected