'Correct segments from a URL path.'

def test_url_path_parts_no_hostname(self):

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