summaryrefslogtreecommitdiff
path: root/service/test/unit
AgeCommit message (Collapse)Author
2017-01-03Fixed mockito conflict with zopeBruno Wagner
I bumped into this problem where trial would try to clean up after running the SiteTest and run into an error 'RememberedInvocation has no attribute "_implied"' That happened because mockito is strict with the set of functions it's mock accepts and _implied doesn't exist. It didn't really make sense in this test context so I've adapted the test to use MagicMock instead and now the test pass without problems.
2017-01-02[#851] minor refactoring, and using the right keymanager branchNavaL
2017-01-02[#850] refactoring as a result of moving should_renew to be in keyNavaL
2017-01-02[#850] keys will now be renewed two months before expiry dateNavaL
2017-01-02[#815] regenerating new keys when the current one expiresNavaL
2017-01-02[#815] regenerating new keys when the current one expiresNavaL
2016-12-14[#869] Move from stdlib to twisted trial unittestDenis Costa
2016-12-08Revert "[#801] Merge branch 'signup'"Roald de Vries
This reverts commit d10f607a4d40587510b0dc31b31fe4750bf4a3a3, reversing changes made to c28abba2f5b1186c671ebef508d40ffaae6d5bc5.
2016-12-08Revert "[#801] add signup resource + tests"Roald de Vries
This reverts commit db1cf22ca3a86027828aba30417e79363a380350.
2016-12-08Revert "[#801] serve signup page from signup resource"Roald de Vries
This reverts commit b6c655b8a15d610166313949b96fadb181627f90.
2016-12-08Revert "[#801] Mocked event server on resource unit test"Roald de Vries
This reverts commit 6f61691980fe11e2eb9c2b56b1acf16a2ceabce3.
2016-12-07[#801] Mocked event server on resource unit testTulio Casagrande
The resource unit test was breaking because the RootResource initialize calls an event register (and the event queue is not initialized on unit tests). We mocked the registering of events so the unit tests don't try to touch the event queue at all.
2016-12-07[#801] serve signup page from signup resourceZara Gebru
2016-12-07[#801] add signup resource + testsZara Gebru
2016-12-06clean up parameters of authsessionwrapperZara Gebru
2016-12-06remove some TODO'sRoald de Vries
2016-12-05Merge branch 'master' into signupRoald de Vries
2016-12-05remove templates folder from root resource parametersRoald de Vries
2016-12-05use static instead of {startup,public}-assetsRoald de Vries
2016-12-05get templates from pkg_resourcesRoald de Vries
2016-12-02[refactor] use static url instead of assets urlZara Gebru
2016-12-02[#625, #851] fixing log typo and adding test making sure encryption error ↵NavaL
does propagate to mails resources
2016-12-02[refactor] move app dir into public dirZara Gebru
2016-12-01[#849] Change unauthorized messageTulio Casagrande
2016-12-01fix root resource tests when zmq is not availableRoald de Vries
2016-12-01WIP: add csrf token to every requestRoald de Vries
2016-11-30add csrf token to login formRoald de Vries
2016-11-30remove PublicRootResource and use a flag on RootResource insteadRoald de Vries
2016-11-30redirect to login from root url when not logged inRoald de Vries
2016-11-30mock out usage of ZMQ in the right placeRoald de Vries
2016-11-29mock out usage or ZMQRoald de Vries
2016-11-29test root resource delegation on a bit higher levelRoald de Vries
2016-11-29make login resource part of the public root resourceRoald de Vries
2016-11-29assert login url is delegated correctlyRoald de Vries
2016-11-29add inbox resourceRoald de Vries
2016-11-29Merge branch 'master' into signupRoald de Vries
2016-11-29return resource instead of username/avatarId as avatarRoald de Vries
2016-11-28split inbox resource out of root resourceRoald de Vries
2016-11-25don't mock the root resource in auth wrapper testRoald de Vries
2016-11-25pass url *fragment* as path argument to getChildWithDefaultRoald de Vries
2016-11-25make credentialsFactories parameter to auth session wrapper optionalRoald de Vries
2016-11-24add login resource as child of public root resourceRoald de Vries
2016-11-24add public root resource to serve static filesRoald de Vries
2016-11-24add test for unauthorized resourceRoald de Vries
2016-11-24mock out event registration for failing test in SnapCIRoald de Vries
2016-11-24remove another unnecessary patchRoald de Vries
2016-11-24remove an unnecessary patchRoald de Vries
2016-11-23mock out event registration for failing test in SnapCIRoald de Vries
2016-11-23remove another unnecessary patchRoald de Vries
2016-11-23remove an unnecessary patchRoald de Vries