def test_url_join(self): """ test url_join """ self.assertEqual( utils.url_join('https://localhost/test', 'swagger.json'), 'https://localhost/test/swagger.json') self.assertEqual( utils.url_join('https://localhost/test/', 'swagger.json'), 'https://localhost/test/swagger.json')
def test_url_join(self): """ test url_join """ self.assertEqual(utils.url_join('https://localhost/test', 'swagger.json'), 'https://localhost/test/swagger.json') self.assertEqual(utils.url_join('https://localhost/test/', 'swagger.json'), 'https://localhost/test/swagger.json')