'Verifies that create_bookmark raises error as expected.'

@patch('openedx.core.djangoapps.bookmarks.api.tracker.emit')
def test_create_bookmark_raises_error(self, mock_tracker):

    with self.assertNumQueries(0):
        with self.assertRaises(ItemNotFoundError):
            api.create_bookmark(user=self.user, usage_key=UsageKey.from_string('i4x://brb/100/html/340ef1771a0940'))
    self.assert_no_events_were_emitted(mock_tracker)
