Skip to content

Commit

Permalink
fix(framework): ensure script runs correctly from any directory
Browse files Browse the repository at this point in the history
Signed-off-by: Diogo Costa <[email protected]>
  • Loading branch information
Diogo21Costa committed May 28, 2024
1 parent 4a57d8a commit b2d91b1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions framework/test_framework.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
import constants as cons
import connection

script_dir = os.path.dirname(os.path.abspath(__file__))
os.chdir(script_dir)

test_config = {
'platform': '',
'nix_file': '',
Expand Down

0 comments on commit b2d91b1

Please sign in to comment.