def test_get_supported_actions():
    config = {
        'schema_files': {
            'submission': '/some/path.json',
            'aliases': '/some/other_path.json',
        },
    }
    assert sorted(get_supported_actions(config)) == sorted(('submission', 'aliases'))
示例#2
0
def test_get_supported_actions():
    config = {
        "schema_files": {
            "submission": "/some/path.json",
            "aliases": "/some/other_path.json"
        }
    }
    assert sorted(get_supported_actions(config)) == sorted(
        ("submission", "aliases"))