Example #1
0
 def test_invalid_fragment_component(self):
     uri = URIReference(None, None, None, None, 'foo#bar')
     assert uri.is_valid() is False
Example #2
0
 def test_invalid_path(self):
     uri = URIReference(None, None, 'foo#bar', None, None)
     assert uri.is_valid() is False
Example #3
0
 def test_invalid_query_component(self):
     uri = URIReference(None, None, None, 'foo#bar', None)
     assert uri.is_valid() is False
Example #4
0
 def test_invalid_scheme(self):
     uri = URIReference('123', None, None, None, None)
     assert uri.is_valid() is False
Example #5
0
 def test_invalid_fragment_component(self):
     uri = URIReference(None, None, None, None, 'foo#bar')
     assert uri.is_valid() is False
Example #6
0
 def test_invalid_query_component(self):
     uri = URIReference(None, None, None, 'foo#bar', None)
     assert uri.is_valid() is False
Example #7
0
 def test_invalid_path(self):
     uri = URIReference(None, None, 'foo#bar', None, None)
     assert uri.is_valid() is False
Example #8
0
 def test_invalid_scheme(self):
     uri = URIReference('123', None, None, None, None)
     assert uri.is_valid() is False