Chris PeBenito
9d51dcc7e3
Misc cleanups suggested by pylint
...
* unnecessary parentheses on return
* variable shadowing
* unused variables
* classmethod variable naming
2015-04-02 14:50:21 -04:00
Chris PeBenito
ed35d206d9
Change unit tests to use setUpClass for opening policies.
2015-03-18 09:44:16 -04:00
Chris PeBenito
9939f5241e
Implement MLS range tests on several context-based queries.
2015-02-24 15:50:08 -05:00
Chris PeBenito
5127caf8ae
Implement file type criteria for GenfsconQuery.
2014-11-29 10:24:41 -05:00
Chris PeBenito
8ba3cf16f5
Change all unit tests for "unset" query to use full comparison.
...
Fully compare the lists rather than only counting objects.
Also fix comparison problem in Nodecon and Genfscon. In libqpol, the all
genfscons/nodecons iterators allocate new objects, so the pointer
comparison in PolicySymbol fails.
2014-11-25 13:24:36 -05:00
Chris PeBenito
4e7aeed9ff
Implement genfscon query.
2014-11-02 10:47:30 -05:00