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