Skip to content

Commit

Permalink
Update test_import.py
Browse files Browse the repository at this point in the history
  • Loading branch information
aradhakrishnanGFDL authored Jul 19, 2024
1 parent dfa4629 commit d72f406
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ def check_import():
print("The module intakebuilder is not installed. Do you have intakebuilder in your sys.path or have you activated the conda environment with the intakebuilder package in it? ")
print("Attempting again with adjusted sys.path ")
try:
#candobetter with actual conda package built before this, but this is a decent test for those that do not use conda package
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))+"/catalogbuilder")
from intakebuilder import gfdlcrawler, CSVwriter, builderconfig, configparser
except:
Expand Down

0 comments on commit d72f406

Please sign in to comment.