Python: Add support for exporting multiple components

This commit is contained in:
Simon Hausmann 2024-07-02 09:23:34 +02:00 committed by Simon Hausmann
parent a3435d218f
commit 0c7d2062a5
10 changed files with 76 additions and 51 deletions

View file

@ -12,9 +12,13 @@ def test_load_file(caplog):
assert "The property 'color' has been deprecated. Please use 'background' instead" in caplog.text
assert list(module.__dict__.keys()) == ["App"]
assert len(list(module.__dict__.keys())) == 2
assert "App" in module.__dict__
assert "Diag" in module.__dict__
instance = module.App()
del instance
instance = module.Diag()
del instance
def test_load_file_fail():