Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_translate_keys_with_id():
t = Templates('uri', 'key')
results = t._translate_keys(id='test_id')
assert results['id'] == 'test_id'