Skip to content

Commit

Permalink
Config files live in current project
Browse files Browse the repository at this point in the history
  • Loading branch information
Angel Campoverde committed Jan 5, 2025
1 parent 33ed103 commit 99084c3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_pfn_reader.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
'''
Script with tests for PFNReader class
'''
from importlib.resources import files

import yaml
import pytest

import dmu.generic.utilities as gut

from post_ap.pfn_reader import PFNReader
Expand All @@ -18,7 +21,7 @@ class Data:
('rd_ap_2024', 'data_turbo', 8)]
# -----------------------------
def _get_cfg() -> dict:
config_path = '/home/acampove/Packages/config_files/post_ap/v3.yaml'
config_path = files('post_ap_data').joinpath('post_ap/v3.yaml')
config_path = str(config_path)

with open(config_path, encoding='utf-8') as ifile:
Expand Down

0 comments on commit 99084c3

Please sign in to comment.