We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 13a7f6d + fc7846d commit 02f6fadCopy full SHA for 02f6fad
tests/unit/__init__.py
@@ -283,5 +283,5 @@ def page_of_users(include_next_link=False):
283
"first_sent_at": 1410335293,
284
"created_at": 1410335293,
285
"links": {},
286
- "self": None
+ "self": "http://example.com/resource/url/"
287
}
tests/unit/test_notification.py
@@ -81,3 +81,8 @@ def it_returns_inner_user_object_with_nil_tags(self):
81
82
payload = Notification(**user_notification)
83
eq_(payload.model.tags, [])
84
+
85
+ @istest
86
+ def it_has_self_attribute(self):
87
+ payload = Notification(**test_conversation_notification)
88
+ eq_('http://example.com/resource/url/', payload.self)
0 commit comments