-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable passing datasets to tests via command line (#439)
* Add `--ds` pytest cli option for passing in datasets * Make ds fixture into call hook so input for tests can be modified * Start adding cli datasets marker and tell pytest not to worry about it * Changelog * Work around getoption default arg not working * Tweak cli options and marker inputs * Start documenting * Bit more docs * RST isn't markdown * Update docs/developer.rst Co-authored-by: Stuart Mumford <[email protected]> * Update changelog * Rename changelog * Update dkist/dataset/tests/test_dataset.py Co-authored-by: Stuart Mumford <[email protected]> * Update dkist/dataset/tests/test_dataset.py Co-authored-by: Stuart Mumford <[email protected]> * Undo a thing, we'll fix it another time * Disregard last, error is in the data which is exactly the point of this PR * Well apparently this breaks things --------- Co-authored-by: Stuart Mumford <[email protected]>
- Loading branch information
Showing
7 changed files
with
83 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Add `--ds` and `--tiled-ds` CLI options to allow passing in datasets for use with the test suite. | ||
The dataset given with `--ds` is passed to tests marked with `accept_cli_dataset` and those given with `--tiled-ds` are passed to tests marked with `accept_cli_tiled_dataset`. |
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
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
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