MetOffice / MetOffice/CDDS

Unittest failure when running on installed package.

Open
#651 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
8
Forks
7
Avg merge
1d 15h
Merged PRs (30d)
23

Description

Slightly odd that this only happens on the deployed code. Not immediately obvious what could be causing this.

`conda_environments/cdds-3.3.0/lib/python3.10/site-packages/cdds/tests/test_validate/test_request_validations.py FFF.F`

`configparser.InterpolationSyntaxError: '$' must be followed by '$' or '{', found: '$CDDS_DIR/cdds/cdds/tests/test_validate/data/variables_file.txt'`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with cdds/tests/test_validate/test_request_validations.py in the installed package and reproduce the reported failures. Trace how the variables file path is read, then verify that the tests pass without configparser.InterpolationSyntaxError when run against the deployed package.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.