Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
Found by codespell(1) and typos[1].

[1]: https://github.com/crate-ci/typos

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
  • Loading branch information
cgzones committed Oct 1, 2024
1 parent 305c8fa commit 8df3dbe
Show file tree
Hide file tree
Showing 47 changed files with 56 additions and 56 deletions.
2 changes: 1 addition & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
This release focused on improving performance and reducing memory usage.

A Cython-based policy representation replaced the
Python/SWIG/static-linked-libsepol implemention. SETools no longer statically
Python/SWIG/static-linked-libsepol implementation. SETools no longer statically
links to libsepol, though it is strongly suggested that users rebuild SETools
after updating libsepol, in case the policy structure changes.

Expand Down
2 changes: 1 addition & 1 deletion man/sediff.1
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Find differences in mlsvalidatetrans rules.
.IP "--ibendportcon"
Find differences in ibendportcon (InfiniBand endport context) statements.
.IP "--ibpkeycon"
Find differences in ibpkeycon (InfiniBand parition key context) statements.
Find differences in ibpkeycon (InfiniBand partition key context) statements.
.IP "--initialsid"
Find differences in initial SID statements.
.IP "--fs_use"
Expand Down
2 changes: 1 addition & 1 deletion man/seinfo.1
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ There is no expanded information for this component.
Print a list of genfscon statements or, if FS_TYPE is provided, print the statement for the named filesystem type.
There is no expanded information for this component.
.IP "--ibpkeycon [PKEY[-PKEY]]"
Print a list of InfiniBand parition key contexts.
Print a list of InfiniBand partition key contexts.
.IP "--ibendportcon [NAME]"
Print a list of InfiniBand endport contexts.
.IP "--initialsid [NAME]"
Expand Down
2 changes: 1 addition & 1 deletion sediff
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ try:
nm = len(diff.modified_sensitivities)
print(f"Sensitivities ({na} Added, {nr} Removed, {nm} Modified)")
if diff.added_sensitivities and not args.stats:
print(f" Added Sensitivites: {na}")
print(f" Added Sensitivities: {na}")
for sens in sorted(diff.added_sensitivities):
print(f" + {sens}")
if diff.removed_sensitivities and not args.stats:
Expand Down
2 changes: 1 addition & 1 deletion setools/checker/checkermodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def log_info(self, msg: str) -> None:
def log_ok(self, msg: str) -> None:
"""
Log findings that pass the check. By default these messages are
surpressed unless self.log_passing is True.
suppressed unless self.log_passing is True.
"""
if self.log_passing:
self.output.write(f"P * {msg}\n")
Expand Down
4 changes: 2 additions & 2 deletions setools/dta.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def __init__(self, policy: policyrep.SELinuxPolicy, /, *,
self.subG = self.G.copy()
except NameError:
self.log.critical("NetworkX is not available. This is "
"requried for Domain Transition Analysis.")
"required for Domain Transition Analysis.")
self.log.critical("This is typically in the python3-networkx package.")
raise

Expand Down Expand Up @@ -690,7 +690,7 @@ class Edge(mixins.NetworkXGraphEdge):
Parameters:
graph The NetworkX graph.
source The source type of the edge.
target The target tyep of the edge.
target The target type of the edge.
Keyword Parameters:
create (T/F) create the edge if it does not exist.
Expand Down
2 changes: 1 addition & 1 deletion setools/infoflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def __init__(self, policy: policyrep.SELinuxPolicy, perm_map: permmap.Permission
self.subG = self.G.copy()
except NameError:
self.log.critical("NetworkX is not available. This is "
"requried for Information Flow Analysis.")
"required for Information Flow Analysis.")
self.log.critical("This is typically in the python3-networkx package.")
raise

Expand Down
6 changes: 3 additions & 3 deletions setools/policyrep/object.pxi
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ cdef class EbitmapIterator(PolicyIterator):
"""
Base class for iterators over hash tables.
Sublcasses must provide their own __next__, which calls this class's __next__
Subclasses must provide their own __next__, which calls this class's __next__
and then uses a factory function to build and return an object from self.curr.
For example:
Expand Down Expand Up @@ -177,7 +177,7 @@ cdef class HashtabIterator(PolicyIterator):
"""
Base class for iterators over hash tables.
Sublcasses must provide their own __next__, which calls this class's __next__
Subclasses must provide their own __next__, which calls this class's __next__
and then uses a factory function to build and return an object from self.curr.
For example:
Expand Down Expand Up @@ -243,7 +243,7 @@ cdef class OcontextIterator(PolicyIterator):
"""
Base class for iterators for most in-policy labeling statements, (portcon, nodecon, etc.)
Sublcasses must provide their own __next__, which calls this class's __next__
Subclasses must provide their own __next__, which calls this class's __next__
and then uses a factory function to build and return an object from self.ocon.
For example:
Expand Down
2 changes: 1 addition & 1 deletion setools/policyrep/terule.pxi
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ cdef class IoctlSet(frozenset):

def __format__(self, spec):
"""
String formating.
String formatting.
The standard formatting (no specification) will render the
ranges of ioctls, space separated.
Expand Down
2 changes: 1 addition & 1 deletion setools/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def __init__(self, policy: "SELinuxPolicy", **kwargs) -> None:
# keys are sorted in reverse order so regex settings
# are set before the criteria, e.g. name_regex
# is set before name. This ensures correct behavior
# since the criteria descriptors are sensitve to
# since the criteria descriptors are sensitive to
# regex settings.
for name in sorted(kwargs.keys(), reverse=True):
attr = getattr(self, name, None) # None is not callable
Expand Down
2 changes: 1 addition & 1 deletion setoolsgui/widgets/commonquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class CommonQueryTab(tab.TableResultTabWidget[setools.CommonQuery, setools.Commo
"""A common permission set query."""

section = tab.AnalysisSection.Components
tab_title = "Common Permision Sets"
tab_title = "Common Permission Sets"
mlsonly = False

def __init__(self, policy: setools.SELinuxPolicy, /, *,
Expand Down
2 changes: 1 addition & 1 deletion setoolsgui/widgets/criteria/boolean.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def __init__(self, title: str, query: setools.PolicyQuery, attrname: str, /, *,
layout.addWidget(widget2)
layout.addWidget(widget3)
window.setToolTip("test tooltip")
window.setWhatsThis("test whats this")
window.setWhatsThis("test what's this")
mw.setCentralWidget(window)
mw.resize(window.size())
whatsthis = QtWidgets.QWhatsThis.createAction(mw)
Expand Down
2 changes: 1 addition & 1 deletion setoolsgui/widgets/criteria/boundsruletype.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def __init__(self, title: str, query: setools.PolicyQuery, attrname: str = "rule
mw = QtWidgets.QMainWindow()
w = BoundsRuleType("Test default ruletypes", q, parent=mw)
w.setToolTip("test tooltip")
w.setWhatsThis("test whats this")
w.setWhatsThis("test what's this")
mw.setCentralWidget(w)
mw.resize(w.size())
whatsthis = QtWidgets.QWhatsThis.createAction(mw)
Expand Down
2 changes: 1 addition & 1 deletion setoolsgui/widgets/criteria/comboenum.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class local_enum_class(enum.Enum):
mw = QtWidgets.QMainWindow()
widget = ComboEnumWidget("Test radio enum", q, "radioattrname", local_enum_class, parent=mw)
widget.setToolTip("test tooltip")
widget.setWhatsThis("test whats this")
widget.setWhatsThis("test what's this")
mw.setCentralWidget(widget)
mw.resize(widget.size())
whatsthis = QtWidgets.QWhatsThis.createAction(mw)
Expand Down
2 changes: 1 addition & 1 deletion setoolsgui/widgets/criteria/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def __init__(self, title: str, query: setools.PolicyQuery, attrname: str, /, *,
mw = QtWidgets.QMainWindow()
widget = CommonName("Test Common", q, "name", parent=mw)
widget.setToolTip("test tooltip")
widget.setWhatsThis("test whats this")
widget.setWhatsThis("test what's this")
mw.setCentralWidget(widget)
mw.resize(widget.size())
whatsthis = QtWidgets.QWhatsThis.createAction(mw)
Expand Down
2 changes: 1 addition & 1 deletion setoolsgui/widgets/criteria/constraintype.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def __init__(self, title: str, query: setools.PolicyQuery, attrname: str = "rule
mw = QtWidgets.QMainWindow()
w = ConstrainType("Test constrain ruletypes", q, parent=mw)
w.setToolTip("test tooltip")
w.setWhatsThis("test whats this")
w.setWhatsThis("test what's this")
mw.setCentralWidget(w)
mw.resize(w.size())
whatsthis = QtWidgets.QWhatsThis.createAction(mw)
Expand Down
2 changes: 1 addition & 1 deletion setoolsgui/widgets/criteria/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def load(self, settings: dict) -> None:
mw = QtWidgets.QMainWindow()
widget = ContextMatch("Test Context Match", q, parent=mw)
widget.setToolTip("test tooltip")
widget.setWhatsThis("test whats this")
widget.setWhatsThis("test what's this")
mw.setCentralWidget(widget)
mw.resize(widget.size())
whatsthis = QtWidgets.QWhatsThis.createAction(mw)
Expand Down
2 changes: 1 addition & 1 deletion setoolsgui/widgets/criteria/defaultruletype.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def __init__(self, title: str, query: setools.PolicyQuery, attrname: str = "rule
mw = QtWidgets.QMainWindow()
w = DefaultRuleType("Test default ruletypes", q, parent=mw)
w.setToolTip("test tooltip")
w.setWhatsThis("test whats this")
w.setWhatsThis("test what's this")
mw.setCentralWidget(w)
mw.resize(w.size())
whatsthis = QtWidgets.QWhatsThis.createAction(mw)
Expand Down
2 changes: 1 addition & 1 deletion setoolsgui/widgets/criteria/defaultvalue.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def load(self, settings: dict) -> None:
widget1 = DefaultValues("Test default values", q1, "default", "default_range", parent=window)
layout.addWidget(widget1)
window.setToolTip("test tooltip")
window.setWhatsThis("test whats this")
window.setWhatsThis("test what's this")
mw.setCentralWidget(window)
mw.resize(window.size())
whatsthis = QtWidgets.QWhatsThis.createAction(mw)
Expand Down
2 changes: 1 addition & 1 deletion setoolsgui/widgets/criteria/fsuseruletype.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def __init__(self, title: str, query: setools.PolicyQuery, attrname: str = "rule
mw = QtWidgets.QMainWindow()
w = FSUseRuletype("Test fs_use_* ruletypes", q, parent=mw)
w.setToolTip("test tooltip")
w.setWhatsThis("test whats this")
w.setWhatsThis("test what's this")
mw.setCentralWidget(w)
mw.resize(w.size())
whatsthis = QtWidgets.QWhatsThis.createAction(mw)
Expand Down
2 changes: 1 addition & 1 deletion setoolsgui/widgets/criteria/infiniband.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def __init__(self, title: str, query: setools.PolicyQuery, attrname: str, /, *,
mw = QtWidgets.QMainWindow()
widget = IB_EndPortName("Test endport", q, "port", parent=mw)
widget.setToolTip("test tooltip")
widget.setWhatsThis("test whats this")
widget.setWhatsThis("test what's this")
mw.setCentralWidget(widget)
mw.resize(widget.size())
whatsthis = QtWidgets.QWhatsThis.createAction(mw)
Expand Down
2 changes: 1 addition & 1 deletion setoolsgui/widgets/criteria/ipnetwork.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
class IP_NetworkName(NameWidget):

"""
Base classs for widgets providing a QLineEdit that saves the input to the attributes
Base class for widgets providing a QLineEdit that saves the input to the attributes
of the specified query. This supports inputs of IP networks, IPv4 or IPv6.
"""

Expand Down
2 changes: 1 addition & 1 deletion setoolsgui/widgets/criteria/ipports.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def set_criteria(self) -> None:
mw = QtWidgets.QMainWindow()
widget = IP_PortName("Test Range", q, "default", enable_range_opts=True, parent=mw)
widget.setToolTip("test tooltip")
widget.setWhatsThis("test whats this")
widget.setWhatsThis("test what's this")
mw.setCentralWidget(widget)
mw.resize(widget.size())
whatsthis = QtWidgets.QWhatsThis.createAction(mw)
Expand Down
2 changes: 1 addition & 1 deletion setoolsgui/widgets/criteria/list.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def __init__(self, title: str, query, attrname: str, model: models.SEToolsTableM
self.criteria_any.setChecked(not any((EQUAL_DEFAULT_CHECKED, SUBSET_DEFAULT_CHECKED)))
self.top_layout.addWidget(self.criteria_any, 0, 2, 1, 1)

# the rstrip("_") below is to aviod names like "name__equal"
# the rstrip("_") below is to avoid names like "name__equal"
if enable_equal:
self.criteria_equal = QtWidgets.QRadioButton(self)
self.criteria_equal.setObjectName(f"{self.attrname.rstrip('_')}_equal")
Expand Down
2 changes: 1 addition & 1 deletion setoolsgui/widgets/criteria/mlslevelrange.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def __init__(self, title: str, query: setools.PolicyQuery, attrname: str, /, *,
mw = QtWidgets.QMainWindow()
widget = MLSRangeName("Test Range", q, "default", enable_range_opts=True, parent=mw)
widget.setToolTip("test tooltip")
widget.setWhatsThis("test whats this")
widget.setWhatsThis("test what's this")
mw.setCentralWidget(widget)
mw.resize(widget.size())
whatsthis = QtWidgets.QWhatsThis.createAction(mw)
Expand Down
2 changes: 1 addition & 1 deletion setoolsgui/widgets/criteria/mlsruletype.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def __init__(self, title: str, query: setools.PolicyQuery, attrname: str = "rule
mw = QtWidgets.QMainWindow()
w = MLSRuleType("Test MLS ruletypes", q, parent=mw)
w.setToolTip("test tooltip")
w.setWhatsThis("test whats this")
w.setWhatsThis("test what's this")
mw.setCentralWidget(w)
mw.resize(w.size())
whatsthis = QtWidgets.QWhatsThis.createAction(mw)
Expand Down
2 changes: 1 addition & 1 deletion setoolsgui/widgets/criteria/objclass.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def __init__(self, title: str, query: setools.PolicyQuery, attrname: str, /, *,
mw = QtWidgets.QMainWindow()
widget = ObjClassList("Test Classes", q, "tclass", parent=mw)
widget.setToolTip("test tooltip")
widget.setWhatsThis("test whats this")
widget.setWhatsThis("test what's this")
mw.setCentralWidget(widget)
mw.resize(widget.size())
whatsthis = QtWidgets.QWhatsThis.createAction(mw)
Expand Down
2 changes: 1 addition & 1 deletion setoolsgui/widgets/criteria/permission.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def load(self, settings: dict) -> None:
layout.addWidget(widget1)
layout.addWidget(widget2)
window.setToolTip("test tooltip")
window.setWhatsThis("test whats this")
window.setWhatsThis("test what's this")
mw.setCentralWidget(window)
mw.resize(window.size())
whatsthis = QtWidgets.QWhatsThis.createAction(mw)
Expand Down
2 changes: 1 addition & 1 deletion setoolsgui/widgets/criteria/radioenum.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class local_enum_class(enum.Enum):
mw = QtWidgets.QMainWindow()
widget = RadioEnumWidget("Test radio enum", q, "radioattrname", local_enum_class, parent=mw)
widget.setToolTip("test tooltip")
widget.setWhatsThis("test whats this")
widget.setWhatsThis("test what's this")
mw.setCentralWidget(widget)
mw.resize(widget.size())
whatsthis = QtWidgets.QWhatsThis.createAction(mw)
Expand Down
2 changes: 1 addition & 1 deletion setoolsgui/widgets/criteria/ranged.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
class RangedWidget(NameWidget):

"""
Base classs for widgets providing a QLineEdit that saves the input to the attributes
Base class for widgets providing a QLineEdit that saves the input to the attributes
of the specified query. This supports inputs of ranges, e.g. port ranges and MLS ranges.
"""

Expand Down
2 changes: 1 addition & 1 deletion setoolsgui/widgets/criteria/rbacruletype.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def __init__(self, title: str, query: setools.PolicyQuery, attrname: str = "rule
mw = QtWidgets.QMainWindow()
w = RBACRuleType("Test RBAC ruletypes", q, parent=mw)
w.setToolTip("test tooltip")
w.setWhatsThis("test whats this")
w.setWhatsThis("test what's this")
mw.setCentralWidget(w)
mw.resize(w.size())
whatsthis = QtWidgets.QWhatsThis.createAction(mw)
Expand Down
2 changes: 1 addition & 1 deletion setoolsgui/widgets/criteria/role.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def __init__(self, title: str, query: setools.PolicyQuery, attrname: str, /, *,
mw = QtWidgets.QMainWindow()
widget = RoleName("Test Role", q, "source", parent=mw)
widget.setToolTip("test tooltip")
widget.setWhatsThis("test whats this")
widget.setWhatsThis("test what's this")
mw.setCentralWidget(widget)
mw.resize(widget.size())
whatsthis = QtWidgets.QWhatsThis.createAction(mw)
Expand Down
2 changes: 1 addition & 1 deletion setoolsgui/widgets/criteria/teruletype.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def __init__(self, title: str, query: setools.PolicyQuery, attrname: str = "rule
mw = QtWidgets.QMainWindow()
w = TERuleType("Test TE ruletypes", q, parent=mw)
w.setToolTip("test tooltip")
w.setWhatsThis("test whats this")
w.setWhatsThis("test what's this")
mw.setCentralWidget(w)
mw.resize(w.size())
whatsthis = QtWidgets.QWhatsThis.createAction(mw)
Expand Down
2 changes: 1 addition & 1 deletion setoolsgui/widgets/criteria/type.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def __init__(self, title: str, query: setools.PolicyQuery, attrname: str, /, *,
widget = TypeOrAttrName("Test Type/Attribute", q, "source", parent=mw,
enable_regex=True, enable_indirect=True)
widget.setToolTip("test tooltip")
widget.setWhatsThis("test whats this")
widget.setWhatsThis("test what's this")
mw.setCentralWidget(widget)
mw.resize(widget.size())
whatsthis = QtWidgets.QWhatsThis.createAction(mw)
Expand Down
2 changes: 1 addition & 1 deletion setoolsgui/widgets/criteria/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def __init__(self, title: str, query: setools.PolicyQuery, attrname: str, /, *,
mw = QtWidgets.QMainWindow()
widget = UserName("Test user", q, "user", parent=mw)
widget.setToolTip("test tooltip")
widget.setWhatsThis("test whats this")
widget.setWhatsThis("test what's this")
mw.setCentralWidget(widget)
mw.resize(widget.size())
whatsthis = QtWidgets.QWhatsThis.createAction(mw)
Expand Down
2 changes: 1 addition & 1 deletion setoolsgui/widgets/dta.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ <h3>Transitions on Setcon()</h3>
to determine allowed transitions.</p>

<p>The criteria for an allowed dynamic domain transition are as
follows. In the examples below, assume <code>souce_t</code> is the source type
follows. In the examples below, assume <code>source_t</code> is the source type
and, <code>target_t</code> is the target type.</p>

<ol>
Expand Down
2 changes: 1 addition & 1 deletion setoolsgui/widgets/excludetypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def filterAcceptsRow(self, row: int, parent: QtCore.QModelIndex) -> bool:
app = QtWidgets.QApplication(sys.argv)
widget = ExcludeTypes(a)
widget.setToolTip("test tooltip")
widget.setWhatsThis("test whats this")
widget.setWhatsThis("test what's this")
widget.resize(620, 340)
widget.show()
sys.exit(app.exec())
2 changes: 1 addition & 1 deletion setoolsgui/widgets/infoflow.html
Original file line number Diff line number Diff line change
Expand Up @@ -278,4 +278,4 @@ <h2>Finding more flows</h2>
</ol>
<p>Additionally, the analysis can be constrained by number of results. The
<strong>Limit Results</strong> option will stop the analysis if the specified
number of results is reached. There is no idication if there are more results</p>
number of results is reached. There is no indication if there are more results</p>
2 changes: 1 addition & 1 deletion setoolsgui/widgets/permmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def class_selected(self) -> None:
self.perm_mappings.addWidget(mapping)
self.widgets.append(mapping)

# add horizonal line
# add horizontal line
line = QtWidgets.QFrame(self)
line.setFrameShape(QtWidgets.QFrame.Shape.HLine)
line.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
Expand Down
2 changes: 1 addition & 1 deletion setoolsgui/widgets/userquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def __init__(self, policy: setools.SELinuxPolicy, /, *,
lvl.setToolTip("MLS is disabled in this policy.")
lvl.setWhatsThis(
"""
<p>This MLS lavel for user matching is not available because
<p>This MLS level for user matching is not available because
MLS is disabled in this policy.</p>
""")

Expand Down
2 changes: 1 addition & 1 deletion tests/library/checker/test_assertrbac.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def test_exempt_source(self, compiled_policy: setools.SELinuxPolicy) -> None:
assert expected == check.exempt_source

def test_exempt_source_missing(self, compiled_policy: setools.SELinuxPolicy) -> None:
"""Test exempt_source missing role is ignroed."""
"""Test exempt_source missing role is ignored."""
config = {"source": "system",
"exempt_source": "FAIL exempt_src2"}
check = setools.checker.assertrbac.AssertRBAC(
Expand Down
Loading

0 comments on commit 8df3dbe

Please sign in to comment.