[Zope-PAS] Unit test errors.
Lennart Regebro
regebro at nuxeo.com
Mon Sep 13 11:14:07 EDT 2004
Zachery Bir wrote:
> $ for test in `find opt/Products/PluggableAuthService -name test\*.py`
> do; bin/zopectl run $test; done
Ah, I found it! Two modules, test_DyamicGroupsPlugin.py (yup,
missspelled) and test_HTTPBasicAuthHelper.py was missing the
if __name__ == "__main__":
unittest.main()
code, meaning, that when you just run them standalone nothing happens.
I'll check in the updated tests, so that they work both via zopectl run
[filename] and via test.py.
//Lennart
More information about the Zope-PAS
mailing list