setools/tests
Chris PeBenito e82fcadf58 PolicyDifference: Add type annotations.
Includes some minor code changes to fix errors from static type checking.

Disable unsubscriptable-object pylint check on Wrapper subclass
declarations, as this hits the bug described in PyCQA/pylint#2822.

Signed-off-by: Chris PeBenito <pebenito@ieee.org>
2020-10-14 10:16:54 -04:00
..
checker checker: Implement RBAC rule assertion check. 2020-08-23 11:18:46 -04:00
invalid_perm_maps PermissionMapTest: add additional unit tests for error cases 2015-04-07 14:40:04 -04:00
policyrep AVRuleTest: Diasable pycodestyle W605 check on single line instead of everywhere. 2020-10-14 10:16:54 -04:00
__init__.py Implement utility functions for parsing configuration strings. 2020-06-10 11:09:06 -04:00
boolquery.conf tests: Revise unit tests for binary-only policy support. 2018-06-15 20:26:49 -04:00
boolquery.py tests: Revise unit tests for binary-only policy support. 2018-06-15 20:26:49 -04:00
boundsquery.conf tests: Revise unit tests for binary-only policy support. 2018-06-15 20:26:49 -04:00
boundsquery.py tests: Revise unit tests for binary-only policy support. 2018-06-15 20:26:49 -04:00
categoryquery.conf tests: Revise unit tests for binary-only policy support. 2018-06-15 20:26:49 -04:00
categoryquery.py tests: Revise unit tests for binary-only policy support. 2018-06-15 20:26:49 -04:00
commonquery.conf MatchPermission: Change to use CriteriaPermissionSetDescriptor. 2020-08-22 18:42:39 -04:00
commonquery.py tests: Revise unit tests for binary-only policy support. 2018-06-15 20:26:49 -04:00
conditionalinfoflow.conf infoflow: adds boolean selection to seinfoflow 2019-02-06 21:02:46 +00:00
conditionalinfoflow.py infoflow: adds boolean selection to seinfoflow 2019-02-06 21:02:46 +00:00
constraintquery.conf tests: Revise unit tests for binary-only policy support. 2018-06-15 20:26:49 -04:00
constraintquery.py tests: Revise unit tests for binary-only policy support. 2018-06-15 20:26:49 -04:00
defaultquery.conf Default: Add support for default_range glblub. 2020-05-07 11:16:37 -04:00
defaultquery.py Revise structure to make policyrep a module instead of a subpackage. 2018-08-11 20:46:01 -04:00
devicetreeconquery.conf setools-V4: Add updates for testing V30 xen and xperms 2016-03-21 10:56:37 -04:00
devicetreeconquery.py tests: Revise unit tests for binary-only policy support. 2018-06-15 20:26:49 -04:00
diff_left_redundant.conf Genfscon: Look up object class references since object class values are not static. 2020-03-10 15:55:24 -04:00
diff_left_standard.conf Genfscon: Look up object class references since object class values are not static. 2020-03-10 15:55:24 -04:00
diff_left.conf Genfscon: Look up object class references since object class values are not static. 2020-03-10 15:55:24 -04:00
diff_right_rmisid.conf Genfscon: Look up object class references since object class values are not static. 2020-03-10 15:55:24 -04:00
diff_right.conf Genfscon: Look up object class references since object class values are not static. 2020-03-10 15:55:24 -04:00
diff.py PolicyDifference: Add type annotations. 2020-10-14 10:16:54 -04:00
dta.conf Add additional DTA and infoflow rules for self loop testing. 2015-02-28 10:11:13 -05:00
dta.py Update static testing and fix identified issues. 2018-08-11 20:46:06 -04:00
fsusequery.conf tests: Revise unit tests for binary-only policy support. 2018-06-15 20:26:49 -04:00
fsusequery.py tests: Revise unit tests for binary-only policy support. 2018-06-15 20:26:49 -04:00
genfsconquery.conf Genfscon: Look up object class references since object class values are not static. 2020-03-10 15:55:24 -04:00
genfsconquery.py tests: Revise unit tests for binary-only policy support. 2018-06-15 20:26:49 -04:00
ibendportconquery.conf Add ibendportcon and ibpkeycon queries. 2018-11-25 10:51:23 -05:00
ibendportconquery.py Fix PEP8 issues. 2018-11-30 20:05:10 -05:00
ibpkeyconquery.conf Add ibendportcon and ibpkeycon queries. 2018-11-25 10:51:23 -05:00
ibpkeyconquery.py Fix PEP8 issues. 2018-11-30 20:05:10 -05:00
infoflow.conf InfoFlow tests: fix disconnected node tests 2015-03-27 09:07:48 -04:00
infoflow.py Revise structure to make policyrep a module instead of a subpackage. 2018-08-11 20:46:01 -04:00
initsidquery.conf tests: Revise unit tests for binary-only policy support. 2018-06-15 20:26:49 -04:00
initsidquery.py tests: Revise unit tests for binary-only policy support. 2018-06-15 20:26:49 -04:00
iomemconquery.conf setools-V4: Add updates for testing V30 xen and xperms 2016-03-21 10:56:37 -04:00
iomemconquery.py tests: Revise unit tests for binary-only policy support. 2018-06-15 20:26:49 -04:00
ioportconquery.conf setools-V4: Add updates for testing V30 xen and xperms 2016-03-21 10:56:37 -04:00
ioportconquery.py tests: Revise unit tests for binary-only policy support. 2018-06-15 20:26:49 -04:00
mixins.py Revise structure to make policyrep a module instead of a subpackage. 2018-08-11 20:46:01 -04:00
mlsrulequery.conf tests: Revise unit tests for binary-only policy support. 2018-06-15 20:26:49 -04:00
mlsrulequery.py tests: Revise unit tests for binary-only policy support. 2018-06-15 20:26:49 -04:00
netifconquery.conf Implement MLS range tests on several context-based queries. 2015-02-24 15:50:08 -05:00
netifconquery.py tests: Revise unit tests for binary-only policy support. 2018-06-15 20:26:49 -04:00
nodeconquery.conf tests: Revise unit tests for binary-only policy support. 2018-06-15 20:26:49 -04:00
nodeconquery.py tests: Revise unit tests for binary-only policy support. 2018-06-15 20:26:49 -04:00
objclassquery.conf tests: Revise unit tests for binary-only policy support. 2018-06-15 20:26:49 -04:00
objclassquery.py tests: Revise unit tests for binary-only policy support. 2018-06-15 20:26:49 -04:00
pcideviceconquery.conf setools-V4: Add updates for testing V30 xen and xperms 2016-03-21 10:56:37 -04:00
pcideviceconquery.py tests: Revise unit tests for binary-only policy support. 2018-06-15 20:26:49 -04:00
perm_map PermissionMapTest: add additional unit tests for error cases 2015-04-07 14:40:04 -04:00
permmap.conf PermissionMap: implement policy mapping function. 2015-03-18 10:16:15 -04:00
permmap.py PermissionMap: Clean up implementation. 2020-10-14 10:16:54 -04:00
pirqconquery.conf setools-V4: Add updates for testing V30 xen and xperms 2016-03-21 10:56:37 -04:00
pirqconquery.py tests: Revise unit tests for binary-only policy support. 2018-06-15 20:26:49 -04:00
polcapquery.conf tests: Revise unit tests for binary-only policy support. 2018-06-15 20:26:49 -04:00
polcapquery.py tests: Revise unit tests for binary-only policy support. 2018-06-15 20:26:49 -04:00
portconquery.conf Implement MLS range tests on several context-based queries. 2015-02-24 15:50:08 -05:00
portconquery.py tests: Revise unit tests for binary-only policy support. 2018-06-15 20:26:49 -04:00
rbacrulequery.conf tests: Revise unit tests for binary-only policy support. 2018-06-15 20:26:49 -04:00
rbacrulequery.py Revise structure to make policyrep a module instead of a subpackage. 2018-08-11 20:46:01 -04:00
rolequery.conf tests: Revise unit tests for binary-only policy support. 2018-06-15 20:26:49 -04:00
rolequery.py tests: Revise unit tests for binary-only policy support. 2018-06-15 20:26:49 -04:00
sensitivityquery.conf tests: Revise unit tests for binary-only policy support. 2018-06-15 20:26:49 -04:00
sensitivityquery.py tests: Revise unit tests for binary-only policy support. 2018-06-15 20:26:49 -04:00
terulequery2.conf Complete TERuleQuery changes for extended permission rules. 2016-03-22 11:07:25 -04:00
terulequery.conf Extend indirect handling for rule queries. 2016-03-16 14:06:49 -04:00
terulequery.py Update static testing and fix identified issues. 2018-08-11 20:46:06 -04:00
typeattrquery.conf tests: Revise unit tests for binary-only policy support. 2018-06-15 20:26:49 -04:00
typeattrquery.py tests: Revise unit tests for binary-only policy support. 2018-06-15 20:26:49 -04:00
typequery.conf MatchName: Add support for alias dereferencing. 2019-02-02 10:17:26 -05:00
typequery.py MatchName: Add support for alias dereferencing. 2019-02-02 10:17:26 -05:00
userquery.conf tests: Revise unit tests for binary-only policy support. 2018-06-15 20:26:49 -04:00
userquery.py tests: Revise unit tests for binary-only policy support. 2018-06-15 20:26:49 -04:00