Skip to content

Instantly share code, notes, and snippets.

@dwcaraway
Created September 8, 2013 23:46
Show Gist options
  • Save dwcaraway/6489637 to your computer and use it in GitHub Desktop.
Save dwcaraway/6489637 to your computer and use it in GitHub Desktop.
Test of the augment_data function in dictization_functions.py
def test_augment_data_no_extras():
data = {
('foo',):'bar',
('foo2',):'bar2'
}
schema = {}
augmented_data = augment_data(data, schema)
#log.debug('test_augment_data augmented_data:{0}'.format(augmented_data))
assert augmented_data == data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment