Pytest: more post-test path cleanup (#30556)
* test cleanup
* missed this one
* remove that
* static class
old-commit-hash: 4086795c29
chrysler-long2
parent
ba3d3233dc
commit
661132be5a
11 changed files with 48 additions and 47 deletions
@ -1,11 +1,4 @@ |
||||
import os |
||||
from pathlib import Path |
||||
|
||||
from openpilot.system.hardware import PC |
||||
|
||||
BASEDIR = os.path.abspath(os.path.join(os.path.dirname(os.path.realpath(__file__)), "../")) |
||||
|
||||
if PC: |
||||
PERSIST = os.path.join(str(Path.home()), ".comma", "persist") |
||||
else: |
||||
PERSIST = "/persist" |
||||
BASEDIR = os.path.abspath(os.path.join(os.path.dirname(os.path.realpath(__file__)), "../")) |
Loading…
Reference in new issue