'Ensure various POST formats'

def test_post_types(self):

    r = self.client.post('/github/', data=json.dumps(self.payload), content_type='application/json')
    self.assertEqual(r.status_code, 200)
    r = self.client.post('/github/', data=urlencode({'payload': json.dumps(self.payload)}), content_type='application/x-www-form-urlencoded')
    self.assertEqual(r.status_code, 200)
