Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support FM hosts in running their own blackout tests, by switching a dedicated config setting, then actually removing the endpoints in flexmeasures==0.14, which will lead to 404 (Not Found). * remove tests already present in v3 Signed-off-by: F.N. Claessen <felix@seita.nl> * move asset deletion test to v3 Signed-off-by: F.N. Claessen <felix@seita.nl> * move asset creation test to v3 Signed-off-by: F.N. Claessen <felix@seita.nl> * remove last remaining asset test from v2 Signed-off-by: F.N. Claessen <felix@seita.nl> * stop testing post_price_data and post_prognosis on v2 Signed-off-by: F.N. Claessen <felix@seita.nl> * move test scheduling with unknown prices from v1.3 to v3 Signed-off-by: F.N. Claessen <felix@seita.nl> * remove v1.3 test already present in v3 Signed-off-by: F.N. Claessen <felix@seita.nl> * move test for wrong job id from v1.3 to v3 Signed-off-by: F.N. Claessen <felix@seita.nl> * no tests worth moving in v1.2 Signed-off-by: F.N. Claessen <felix@seita.nl> * remove test for posting weather data from v1.1 Signed-off-by: F.N. Claessen <felix@seita.nl> * move test for posting data with incompatible resolution from v1.1 to v3 Signed-off-by: F.N. Claessen <felix@seita.nl> * move test for posting data with a user that is not properly set up as a data source, from v1.1 to v3; also test posting is not allowed for inactive admins Signed-off-by: F.N. Claessen <felix@seita.nl> * move test for getting data for an empty period from v1.1 to v3 Signed-off-by: F.N. Claessen <felix@seita.nl> * move v3 tests that just GET data to test module that uses db fixture rather than fresh_db fixture Signed-off-by: F.N. Claessen <felix@seita.nl> * remove v1.1 test utils including old simulation script that uses one of them Signed-off-by: F.N. Claessen <felix@seita.nl> * salvage only 1 test from v1, which logs out a user Signed-off-by: F.N. Claessen <felix@seita.nl> * add missing fixtures to let tests succeed on their own, too Signed-off-by: F.N. Claessen <felix@seita.nl> * remove v1.0 test utils Signed-off-by: F.N. Claessen <felix@seita.nl> * add changelog warning Signed-off-by: F.N. Claessen <felix@seita.nl> * update API documentation Signed-off-by: F.N. Claessen <felix@seita.nl> * Document public endpoints in v3 Signed-off-by: F.N. Claessen <felix@seita.nl> * black Signed-off-by: F.N. Claessen <felix@seita.nl> * Implement getService for API v3 Signed-off-by: F.N. Claessen <felix@seita.nl> * Document service listing for v3 Signed-off-by: F.N. Claessen <felix@seita.nl> * Show quickref contents rather than summary line of docstring Signed-off-by: F.N. Claessen <felix@seita.nl> * Fix removal of suffix and prefix, by not using rstrip and lstrip, respectively Signed-off-by: F.N. Claessen <felix@seita.nl> * API changelog entry Signed-off-by: F.N. Claessen <felix@seita.nl> * Make getService more RESTful Signed-off-by: F.N. Claessen <felix@seita.nl> * Add warning to API developer docs Signed-off-by: F.N. Claessen <felix@seita.nl> * More robust against spaces Signed-off-by: F.N. Claessen <felix@seita.nl> * Update main changelog entry Signed-off-by: F.N. Claessen <felix@seita.nl> * Support blackout tests Signed-off-by: F.N. Claessen <felix@seita.nl> * black Signed-off-by: F.N. Claessen <felix@seita.nl> * Fix test Signed-off-by: F.N. Claessen <felix@seita.nl> * More specific if statement Signed-off-by: F.N. Claessen <felix@seita.nl> * change default to activating the sunset Signed-off-by: F.N. Claessen <felix@seita.nl> * Add sunset documentation for FlexMeasures hosts and make the config settings reusable for future sunsets Signed-off-by: F.N. Claessen <felix@seita.nl> * shorten comment Signed-off-by: F.N. Claessen <felix@seita.nl> * fix override from config setting Signed-off-by: F.N. Claessen <felix@seita.nl> * refactor Signed-off-by: F.N. Claessen <felix@seita.nl> * Cross reference to snapshot version of API documentation Signed-off-by: F.N. Claessen <felix@seita.nl> * We want to support blackout tests already from the version that announces the deprecation and sunset Signed-off-by: F.N. Claessen <felix@seita.nl> * black Signed-off-by: F.N. Claessen <felix@seita.nl> * Add cross-reference and explanation, and add clarity Signed-off-by: F.N. Claessen <felix@seita.nl> * Customize admonition Signed-off-by: F.N. Claessen <felix@seita.nl> --------- Signed-off-by: F.N. Claessen <felix@seita.nl>
- Loading branch information
Showing
12 changed files
with
203 additions
and
26 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
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
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
Oops, something went wrong.