Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated travis.yml

  • Loading branch information...
commit 2c0fc142a385f791e6cc67b5bf624eb6e2df82ed 1 parent c31488a
@rozza rozza authored
Showing with 7 additions and 1 deletion.
  1. +1 −1  .travis.yml
  2. +6 −0 tests/test_dereference.py
View
2  .travis.yml
@@ -26,4 +26,4 @@ notifications:
branches:
only:
- master
- - 0.7
+ - 0.8
View
6 tests/test_dereference.py
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.