more complexity to test case
This commit is contained in:
9
apps/test/test.py
Normal file
9
apps/test/test.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from app1.database import Database
|
||||
from appdaemon.adbase import ADBase
|
||||
|
||||
|
||||
class Test(ADBase):
|
||||
def initialize(self):
|
||||
self.adapi = self.get_ad_api()
|
||||
self.database = Database(self.adapi)
|
||||
# self.notify.send("Test message from Test2 app.")
|
||||
4
apps/test/test.yaml
Normal file
4
apps/test/test.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
test:
|
||||
module: test
|
||||
class: Test
|
||||
log_level: DEBUG
|
||||
Reference in New Issue
Block a user