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
parent fd89cbf655
commit 75a61617cb
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']