Skip to content

Commit

Permalink
@Natim review
Browse files Browse the repository at this point in the history
  • Loading branch information
leplatrem committed Jul 21, 2016
1 parent 18ace47 commit 5d591a2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kinto/tests/core/resource/test_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,8 @@ def test_one_event_is_sent_per_resource(self):
self.assertEqual(len(self.events), 2)

def test_one_event_is_sent_per_parent_id(self):
# /mushrooms is a UserResource (see testapp.views), which means
# that parent_id depends on the authenticated user.
body = {
"defaults": {
"path": '/mushrooms',
Expand All @@ -373,6 +375,7 @@ def test_one_event_is_sent_per_parent_id(self):
]
}
self.app.post_json("/batch", body, headers=self.headers)
# Two different auth headers, thus two different parent_id:

This comment has been minimized.

Copy link
@Natim

Natim Jul 21, 2016

Member

👍

self.assertEqual(len(self.events), 2)

def test_one_event_is_sent_per_action(self):
Expand Down

0 comments on commit 5d591a2

Please sign in to comment.