-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #402 from GermanZero-de/fix_create_expectations
fix create_expectation
- Loading branch information
Showing
2 changed files
with
12 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
End to end test expected results | ||
================================ | ||
|
||
This directory contains one file per ags it ran for. Those are encoded in the filename: `production_<ags>.json` | ||
This directory contains one file per ags and year combination it ran for. Those are encoded in the filename: `production_<ags>_<year_baseline>_<year_target>.json` | ||
The year of the reference data is encoded in the foldername. | ||
|
||
If you want to generate a fresh version of all expected results call 'python devtool.py test_end_to_end update_expectations'. | ||
If you want to create a new expectation file for a new ags call 'python devtool.py test_end_to_end create_expectation -ags <ags>'. | ||
|
||
TODO: This currently doesn't handle any other inputs (e.g. year=...) or any of the others | ||
and indeed just adding those to the filename will eventually not scale anymore ;-) But | ||
again a problem for another day. | ||
If you want to create a new expectation file for a new ags call 'python devtool.py test_end_to_end create_expectation -ags <ags> -year_baseline <year_baseline> -year_target <year_target>'. |