예제 #1
0
파일: utils_tests.py 프로젝트: gmr/queries
 def test_urlparse_password(self):
     """password should match expectation"""
     self.assertEqual(utils.urlparse(self.URI).password, 'bar')
예제 #2
0
파일: utils_tests.py 프로젝트: gmr/queries
 def test_urlparse_path(self):
     """path should match expectation"""
     self.assertEqual(utils.urlparse(self.URI).path, '/qux')
예제 #3
0
파일: utils_tests.py 프로젝트: gmr/queries
 def test_urlparse_username(self):
     """username should match expectation"""
     self.assertEqual(utils.urlparse(self.URI).username, 'foo')
예제 #4
0
파일: utils_tests.py 프로젝트: gmr/queries
 def test_urlparse_hostname(self):
     """hostname should match expectation"""
     self.assertEqual(utils.urlparse(self.URI).hostname, 'baz')
예제 #5
0
파일: utils_tests.py 프로젝트: gmr/queries
 def test_urlparse_port(self):
     """port should match expectation"""
     self.assertEqual(utils.urlparse(self.URI).port, 5444)
예제 #6
0
 def test_urlparse_password(self):
     """password should match expectation"""
     self.assertEqual(utils.urlparse(self.URI).password, 'bar')
예제 #7
0
 def test_urlparse_username(self):
     """username should match expectation"""
     self.assertEqual(utils.urlparse(self.URI).username, 'foo')
예제 #8
0
 def test_urlparse_path(self):
     """path should match expectation"""
     self.assertEqual(utils.urlparse(self.URI).path, '/qux')
예제 #9
0
 def test_urlparse_port(self):
     """port should match expectation"""
     self.assertEqual(utils.urlparse(self.URI).port, 5444)
예제 #10
0
 def test_urlparse_hostname(self):
     """hostname should match expectation"""
     self.assertEqual(utils.urlparse(self.URI).hostname, 'baz')