training icon indicating copy to clipboard operation
training copied to clipboard

Mastering Plone - More Complex Behaviors - interfaces.py missing a Layer

Open ramiroluz opened this issue 6 years ago • 0 comments

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

ramiroluz avatar Jan 17 '19 18:01 ramiroluz