more complexity in the test cases
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
from appdaemon.adapi import ADAPI
|
||||
|
||||
|
||||
class Database:
|
||||
class Database(ADAPI):
|
||||
def initialize(self):
|
||||
self.comp = DatabaseComponent(self)
|
||||
self.log('Database with component')
|
||||
|
||||
|
||||
class DatabaseComponent:
|
||||
def __init__(self, ad: ADAPI) -> None:
|
||||
self.ad = ad
|
||||
|
||||
Reference in New Issue
Block a user