mirror of
https://github.com/SELinuxProject/setools
synced 2025-04-01 14:48:07 +00:00
ConstraintQueryTest: fix test 12's name.
This commit is contained in:
parent
ce02bfc5a5
commit
c432719ca3
@ -57,8 +57,8 @@ class ConstraintQueryTest(unittest.TestCase):
|
||||
constraint = sorted(c.tclass for c in q.results())
|
||||
self.assertListEqual(["test11a", "test11b"], constraint)
|
||||
|
||||
def test_012_class_list(self):
|
||||
"""Constraint query with object class list match."""
|
||||
def test_012_class_regex(self):
|
||||
"""Constraint query with object class regex match."""
|
||||
q = ConstraintQuery(self.p, tclass="test12(a|c)", tclass_regex=True)
|
||||
|
||||
constraint = sorted(c.tclass for c in q.results())
|
||||
|
Loading…
Reference in New Issue
Block a user