Merge branch 'master' of git@hmarr.com:mongomap
This commit is contained in:
commit
ff5e5addf5
1 changed files with 1 additions and 0 deletions
|
|
@ -89,6 +89,7 @@ class FieldTest(unittest.TestCase):
|
|||
self.assertRaises(ValidationError, person.__setattr__, 'preferences',
|
||||
Comment(content='Nice blog post...'))
|
||||
person.preferences = PersonPreferences(food='Cheese', number=47)
|
||||
self.assertEqual(person.preferences.food, 'Cheese')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue