general: add an adhoc test for checking mixin behaviour with namespace packages and __init__.py hack

also use that hack in my.fbmessenger
This commit is contained in:
Dima Gerasimov 2022-06-01 21:57:36 +01:00 committed by karlicoss
parent 179b657eea
commit 8336d18434
4 changed files with 30 additions and 2 deletions

View file

@ -0,0 +1,7 @@
from my.fbmessenger import export
from . import mixin
def messages():
yield from mixin.messages()
yield from export.messages()

View file

@ -0,0 +1,2 @@
def messages():
yield from ['1', '2', '3']