Ejemplo n.º 1
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'))
Ejemplo n.º 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"))