Permalink
Browse files

Updated travis.yml

  • Loading branch information...
1 parent c31488a commit 2c0fc142a385f791e6cc67b5bf624eb6e2df82ed @rozza rozza committed Nov 26, 2012
Showing with 7 additions and 1 deletion.
  1. +1 −1 .travis.yml
  2. +6 −0 tests/test_dereference.py
View
@@ -26,4 +26,4 @@ notifications:
branches:
only:
- master
- - 0.7
+ - 0.8
@@ -42,6 +42,12 @@ class Group(Document):
group_obj = Group.objects.first()
self.assertEqual(q, 1)
+ len(group_obj._data['members'])
+ self.assertEqual(q, 1)
+
+ len(group_obj.members)
+ self.assertEqual(q, 2)
+
[m for m in group_obj.members]
self.assertEqual(q, 2)

0 comments on commit 2c0fc14

Please sign in to comment.