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