rename "trusted" to "privileged" (bug 826884)

This commit is contained in:
Chris Van 2013-01-04 19:23:17 -05:00
Родитель b07a9935eb
Коммит c953ad4c63
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -350,12 +350,12 @@ class WebappSpec(Spec):
self.MORE_INFO])
def process_type(self, node):
if unicode(node) not in (u"web", u"trusted", u"certified", ):
if unicode(node) not in (u"web", u"privileged", u"certified", ):
self.err.error(
err_id=("spec", "webapp", "type_not_known"),
error="`type` is not a recognized value",
description=["The `type` key does not contain a recognized "
"value. `type` may only contain 'web', 'trusted', "
"value. `type` may only contain 'web', 'privileged', "
"or 'certified'.",
"Found value: '%s'" % node,
self.MORE_INFO])

Просмотреть файл

@ -533,7 +533,7 @@ class TestWebapps(TestCase):
self.analyze()
self.assert_silent()
for key in ("web", "trusted", "certified", ):
for key in ("web", "privileged", "certified", ):
yield wrap, self, key
def test_act_base(self):