This should fix compatibility with Plone 3. It also moves plone.app.testing and unittest2 to a extra test dependency, so these packages are not pulled in by default when you just want to use the package.
On Plone 3 manual testing with several levels and a navigation root goes fine as far as I see. Two tests fail though. I guess this is only a testing problem; no idea how to fix it though.
The complete traceback is really too long. It boils down to Unauthorized: You are not allowed to access 'recurse' in this context. This happens in the two tests of webcouturier.dropdownmenu.tests.test_integration.TestINavigationRootDropdownmenu. I tried fixing it but failed. But like I said, all seems to go fine in manual testing, also as anonymous user.
This should fix compatibility with Plone 3. It also moves plone.app.testing and unittest2 to a extra test dependency, so these packages are not pulled in by default when you just want to use the package.
On Plone 3 manual testing with several levels and a navigation root goes fine as far as I see. Two tests fail though. I guess this is only a testing problem; no idea how to fix it though.
The complete traceback is really too long. It boils down to
Unauthorized: You are not allowed to access 'recurse' in this context
. This happens in the two tests ofwebcouturier.dropdownmenu.tests.test_integration.TestINavigationRootDropdownmenu
. I tried fixing it but failed. But like I said, all seems to go fine in manual testing, also as anonymous user.