Commit Graph

30 Commits

Author SHA1 Message Date
Dmitry Kuzmenko
002b1ef9bd Fixed use of assert_has_calls in tests.
The method logic was changed in mock-1.1.0.
This mades the use of the method compatible with both <1.1.0 and >=1.1.0
2015-11-25 15:31:20 +03:00
Dmitry Kuzmenko
09c4f69402 ACL test fix. 2015-11-25 12:33:46 +03:00
Dmitry Kuzmenko
f20d2aa43e ACL test update and fixes 2015-11-24 17:35:17 +03:00
Dmitry Kuzmenko
de5890a346 ACL function args: test and fixes 2015-11-24 17:35:17 +03:00
Dmitry Kuzmenko
3b9c4d2b35 Fixed LoadAuthTestCase 2015-11-24 17:35:16 +03:00
Dmitry Kuzmenko
022c8bdf7e Fixed unit test 2015-10-23 17:26:15 +03:00
Dmitry Kuzmenko
7a5204ef02 Deprecate client_acl with publisher_acl (rename)
Keeping client_acl support
2015-10-23 11:59:40 +03:00
Michael Steed
83a96367a4 Manual merge of #24414 per thatch45 2015-06-06 07:47:52 -06:00
Thomas Jackson
6a34d1dd3f Remove AES key initing-- since we are mocking out _send_pub 2015-04-08 08:19:03 -07:00
Thomas Jackson
348118ff6d Mock/stub out _send_pub in ClearFuncs
Before we were attempting to serialize a MagicMock object
2015-04-07 21:36:13 -07:00
Thomas Jackson
98b53bd1d9 Fix mocking, not quite sure how this magic mock works 2015-04-07 20:53:28 -07:00
Thomas Jackson
c855770bbd Fix misc tests 2015-04-07 20:53:27 -07:00
Pedro Algarvio
60f215f191 Add from __future__ import absolute_import 2015-01-30 22:25:04 +00:00
Pedro Algarvio
da7fefaea6 Fix mock calls 2015-01-24 03:16:51 +00:00
vs
b814c09cab provide con_cache in the opts 2014-10-23 19:08:08 +02:00
Pedro Algarvio
ff97810661 Load configs from scratch 2014-10-08 01:02:10 +01:00
David Boucha
9dc182a2f4 fix codeauthor misspellings 2014-05-21 18:59:02 -06:00
Mike Place
33626659c7 Rewrite opts and pylint 2014-05-08 16:19:07 -06:00
Mike Place
f338bfd20e Pylint 2014-05-07 16:58:34 -06:00
Mike Place
f570ab8fd5 More client acl testing. 2014-05-07 16:43:52 -06:00
Mike Place
fac2c9754b Hook the assertions into the event system. 2014-05-06 12:04:12 -06:00
Mike Place
469989092d Pylint and (hopefully) Jenkins test fix. 2014-05-06 10:21:53 -06:00
Mike Place
e6e0eec532 More pylint 2014-05-06 09:23:09 -06:00
Mike Place
bbebbc6dfd Introducing eauth unit testing.
Typo
2014-05-05 16:52:26 -06:00
David Lindquist
a3ceed03c8 Formatting change 2014-01-29 20:19:43 -08:00
David Lindquist
c3c04afdaf Test a case where the loader auth doesn't have the auth type 2014-01-29 20:19:43 -08:00
David Lindquist
46a0f5b637 Add __main__ to test 2014-01-29 20:19:42 -08:00
Pedro Algarvio
b03c779718 Don't assume mock and timelib are instaled. 2013-12-31 13:53:37 +00:00
Pedro Algarvio
4607d38cd4 We're mock'ing, it's ok to ignore the PyLint warning. 2013-12-27 17:56:31 +00:00
Mike Place
e4caf0a470 Auth system unit testing framework.
* Setup testing classes and imports
* Test load_name()
2013-12-23 22:13:02 -07:00