Chris PeBenito
dc3752e12d
tests: Fix static analysis errors.
2018-06-15 20:26:49 -04:00
Chris PeBenito
51b91d6130
Convert policyrep and SWIG wrapper into Cython libpolicyrep.
2018-06-15 20:26:49 -04:00
Chris PeBenito
9fa55c25cb
Update unit tests for Python 3 only use.
2017-09-19 20:58:03 -04:00
Chris PeBenito
b1c2901e4f
tests: fix iter() use in Mock objects
...
By using return_value, there was only one instance of the iterator, which
would cause problems if it needed to be used again but had already been
consumed. Switch to lambdas that return a new instance of the iter().
2015-04-18 10:47:42 -04:00
Chris PeBenito
cc7ee08f03
policyrep factories: short circuit if provided a constructed object.
...
Change factory functions that support lookups to short circuit if they are
being provided an instance of the object they are meant to create.
2015-04-16 14:07:18 -04:00
Chris PeBenito
415a91d9a0
UserTest: fix copy/paste error in docstring
2015-04-11 08:37:54 -04:00
Chris PeBenito
26e0396290
Implement User unit tests.
2015-04-10 14:53:07 -04:00