def test_simple_comment_hook(self):
        hook, comment, payload = self.perform_create_request_cycle()

        self.assertEquals(hook.id, payload['hook']['id'])
        self.assertEquals('comment.added', payload['hook']['event'])
        self.assertEquals(hook.target, payload['hook']['target'])

        self.assertEquals(comment.id, payload['data']['pk'])
        self.assertEquals('Hello world!', payload['data']['fields']['comment'])
        self.assertEquals(comment.user.id, payload['data']['fields']['user'])
Set ticks and labels on horizontal axis.
dataset/ETHPy150Open zapier/django-rest-hooks/rest_hooks/tests.py/RESTHooksTest.test_simple_comment_hook--crossover with--dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/graphics/boxplots.py/_set_ticks_labels