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'))
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"))