training
training copied to clipboard
Mastering Plone - More Complex Behaviors - interfaces.py missing a Layer
The code for interfaces.py provided by the docs misses a mr.bob generated Layer that is used by the others mr.bob generated tests.
Running the tests gives an error:
$ bin/test starzel.votable_behavior
...
ConfigurationError: ('Invalid value for', 'layer', 'ImportError: Module starzel.votable_behavior.interfaces has no global IStarzelVotableBehaviorLayer')
It works if we keep the generated code and paste the docs provided code on interfaces.py