'basic auth creds correctly stripped from URL containing creds even if URL
contains port'

def test_having_port(self):

    url = 'https://user:12345@domain.com:8080/project/objects.inv'
    expected = 'https://domain.com:8080/project/objects.inv'
    actual = _strip_basic_auth(url)
    self.assertEqual(expected, actual)
