Commit Graph

5 Commits

Author SHA1 Message Date
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
109ba68a92 Rename libapol package to setools. 2014-10-24 21:23:13 -04:00
Chris PeBenito
4e995cc13f Convert unit tests over to assertListEqual where possible.
It makes determining what's wrong easier since it has a diff-style
output.  Also put the expected list first, so the diff style makes sense.
2014-08-01 10:52:17 -04:00
Chris PeBenito
3cdb59cdd0 Fix rolequery unit test for PEP8. 2014-07-21 13:45:09 -04:00
Chris PeBenito
917327f345 Implement role query. 2014-07-21 13:26:30 -04:00