Exemple #1
0
 def test_urlparse_password(self):
     """password should match expectation"""
     self.assertEqual(utils.urlparse(self.URI).password, 'bar')
Exemple #2
0
 def test_urlparse_path(self):
     """path should match expectation"""
     self.assertEqual(utils.urlparse(self.URI).path, '/qux')
Exemple #3
0
 def test_urlparse_username(self):
     """username should match expectation"""
     self.assertEqual(utils.urlparse(self.URI).username, 'foo')
Exemple #4
0
 def test_urlparse_hostname(self):
     """hostname should match expectation"""
     self.assertEqual(utils.urlparse(self.URI).hostname, 'baz')
Exemple #5
0
 def test_urlparse_port(self):
     """port should match expectation"""
     self.assertEqual(utils.urlparse(self.URI).port, 5444)
Exemple #6
0
 def test_urlparse_password(self):
     """password should match expectation"""
     self.assertEqual(utils.urlparse(self.URI).password, 'bar')
Exemple #7
0
 def test_urlparse_username(self):
     """username should match expectation"""
     self.assertEqual(utils.urlparse(self.URI).username, 'foo')
Exemple #8
0
 def test_urlparse_path(self):
     """path should match expectation"""
     self.assertEqual(utils.urlparse(self.URI).path, '/qux')
Exemple #9
0
 def test_urlparse_port(self):
     """port should match expectation"""
     self.assertEqual(utils.urlparse(self.URI).port, 5444)
Exemple #10
0
 def test_urlparse_hostname(self):
     """hostname should match expectation"""
     self.assertEqual(utils.urlparse(self.URI).hostname, 'baz')