'L{URL.child} of a L{URL} without a path produces a L{URL} with a single
path segment.'

def test_childInitRoot(self):

    childURL = URL(host=u'www.foo.com').child(u'c')
    self.assertTrue(childURL.rooted)
    self.assertEqual(u'http://www.foo.com/c', childURL.asText())
