'Namespace prefixes can capture variables: see #15900'

def test_namespaces_with_variables(self):

    self.assertEqual(u'/inc70/', reverse(u'inc-ns5:inner-nothing', kwargs={u'outer': u'70'}))
    self.assertEqual(u'/inc78/extra/foobar/', reverse(u'inc-ns5:inner-extra', kwargs={u'outer': u'78', u'extra': u'foobar'}))
    self.assertEqual(u'/inc70/', reverse(u'inc-ns5:inner-nothing', args=[u'70']))
    self.assertEqual(u'/inc78/extra/foobar/', reverse(u'inc-ns5:inner-extra', args=[u'78', u'foobar']))
