'Test the github post commit hook will build properly with upper case
repository.
This allows for capitalization differences in post-commit hook URL\'s.'

def test_github_upper_case_repo(self):

    payload = self.payload.copy()
    payload['repository']['url'] = payload['repository']['url'].upper()
    r = self.client.post('/github/', data=json.dumps(payload), content_type='application/json')
    self.assertContains(r, '(URL    Build)    Build    Started:    HTTPS://GITHUB.COM/RTFD/READTHEDOCS.ORG    [awesome]')
    self.payload['ref'] = 'refs/heads/not_ok'
