[Zope-PAS] Unit test errors.
zbir at urbanape.com
Mon Sep 13 11:20:57 EDT 2004
On Sep 13, 2004, at 11:14 AM, Lennart Regebro wrote:
> 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__":
> 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.
More information about the Zope-PAS