mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-02-18 17:23:52 +08:00
HITL tests: nose -> pytest (#1301)
* HITL tests: nose -> pytest * run all * add back partial tests * big speed up * fix skipping * enable all * that's expected * clean up after ourselves * jungle is fixture * fix --------- Co-authored-by: Bruce Wayne <batman@comma.ai>
This commit is contained in:
@@ -401,6 +401,10 @@ class Panda:
|
||||
if not enter_bootloader and reconnect:
|
||||
self.reconnect()
|
||||
|
||||
@property
|
||||
def connected(self) -> bool:
|
||||
return self._handle_open
|
||||
|
||||
def reconnect(self):
|
||||
if self._handle_open:
|
||||
self.close()
|
||||
|
||||
Reference in New Issue
Block a user