'Correct segments from a full URL.'

def test_url_path_parts(self):

    path_parts = ['ClusterHQ', 'flocker', 'pull', '1717']
    self.assertEqual(([''] + path_parts), merge_pr.url_path_parts(('https://github.com/' + '/'.join(path_parts))))
