Пример #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
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