File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 22
33from ovos_bus_client .message import Message
44from ovos_bus_client .session import Session
5-
5+ from ovos_utils . log import LOG
66from ovoscope import End2EndTest , get_minicroft
77
88
99class TestAdaptIntent (TestCase ):
1010
1111 def setUp (self ):
12+ LOG .set_level ("DEBUG" )
1213 self .skill_id = "ovos-skill-hello-world.openvoiceos"
1314 self .minicroft = get_minicroft ([self .skill_id ]) # reuse for speed, but beware if skills keeping internal state
1415
1516 def tearDown (self ):
1617 if self .minicroft :
1718 self .minicroft .stop ()
19+ LOG .set_level ("CRITICAL" )
1820
1921 def test_adapt_match (self ):
2022 session = Session ("123" )
@@ -136,12 +138,14 @@ def test_padatious_no_match(self):
136138class TestPadatiousIntent (TestCase ):
137139
138140 def setUp (self ):
141+ LOG .set_level ("DEBUG" )
139142 self .skill_id = "ovos-skill-hello-world.openvoiceos"
140143 self .minicroft = get_minicroft ([self .skill_id ])
141144
142145 def tearDown (self ):
143146 if self .minicroft :
144147 self .minicroft .stop ()
148+ LOG .set_level ("CRITICAL" )
145149
146150 def test_padatious_match (self ):
147151 session = Session ("123" )
@@ -262,12 +266,14 @@ def test_adapt_no_match(self):
262266class TestModel2VecIntent (TestCase ):
263267
264268 def setUp (self ):
269+ LOG .set_level ("DEBUG" )
265270 self .skill_id = "ovos-skill-hello-world.openvoiceos"
266271 self .minicroft = get_minicroft ([self .skill_id ])
267272
268273 def tearDown (self ):
269274 if self .minicroft :
270275 self .minicroft .stop ()
276+ LOG .set_level ("CRITICAL" )
271277
272278 def test_m2v_match (self ):
273279 session = Session ("123" )
Original file line number Diff line number Diff line change 11from unittest import TestCase
22
33from ovos_bus_client .message import Message
4+ from ovos_utils .log import LOG
45
56from ovoscope import End2EndTest , get_minicroft
67
78
89class TestNoSkills (TestCase ):
910
1011 def setUp (self ):
11- self .minicroft = get_minicroft ([])
12+ LOG .set_level ("DEBUG" )
13+ self .minicroft = get_minicroft ([]) # reuse for speed, but beware if skills keeping internal state
1214
1315 def tearDown (self ):
1416 if self .minicroft :
1517 self .minicroft .stop ()
18+ LOG .set_level ("CRITICAL" )
1619
1720 def test_complete_failure (self ):
1821 message = Message ("recognizer_loop:utterance" ,
You can’t perform that action at this time.
0 commit comments