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 1dc2bd8 commit a63570a
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 a63570a

Please sign in to comment.