Age | Commit message (Collapse) | Author |
|
Related with: #815
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This reverts commit d10f607a4d40587510b0dc31b31fe4750bf4a3a3, reversing
changes made to c28abba2f5b1186c671ebef508d40ffaae6d5bc5.
|
|
This reverts commit db1cf22ca3a86027828aba30417e79363a380350.
|
|
This reverts commit b6c655b8a15d610166313949b96fadb181627f90.
|
|
This reverts commit 6f61691980fe11e2eb9c2b56b1acf16a2ceabce3.
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
does propagate to mails resources
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|