'An URL created with the empty string for a fragment compares equal
to an URL created with an unspecified fragment.'

def test_fragmentEquality(self):

    self.assertEqual(URL(fragment=u''), URL())
    self.assertEqual(URL.fromText(u'http://localhost/#'), URL.fromText(u'http://localhost/'))
