@pytest.mark.parametrize('items, key', [(({},), '{}'), (({}, {}), '{}{}')], ids=['single object', 'multiple objects'])
def test_string_key_maker_key(items, key):
    'Generate key using string key maker.'
    key_maker = ftrack_api.cache.StringKeyMaker()
    assert (key_maker.key(*items) == key)
Generate key using string key maker.
@pytest.mark.parametrize('items, key', [(({},), '{}'), (({}, {}), '{}{}')], ids=['single object', 'multiple objects'])
def test_string_key_maker_key(items, key):
    
    key_maker = ftrack_api.cache.StringKeyMaker()
    assert (key_maker.key(*items) == key)