Skip to content

Commit

Permalink
Fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
doosuu committed Oct 13, 2023
1 parent b14e927 commit 08393dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vehicle-model-lifecycle/test/unit/test_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import json
import os
import sys
from pathlib import Path


class StdoutCapturer:
Expand Down Expand Up @@ -49,6 +50,7 @@ def __enter__(self):
os.environ["VELOCITAS_CACHE_DIR"] = self.cache_dir
os.environ["VELOCITAS_WORKSPACE_DIR"] = self.workspace_dir
os.environ["VELOCITAS_APP_MANIFEST"] = json.dumps(self.app_manifest)
os.environ["VELOCITAS_PACKAGE_DIR"] = Path(__file__).parent.parent.__str__()

def __exit__(self, _type, _value, _traceback):
del os.environ["VELOCITAS_CACHE_DIR"]
Expand Down

0 comments on commit 08393dc

Please sign in to comment.