Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support blackout tests #651

Merged
merged 46 commits into from May 1, 2023
Merged

Support blackout tests #651

merged 46 commits into from May 1, 2023

Commits on Apr 25, 2023

  1. remove tests already present in v3

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 25, 2023
    Copy the full SHA
    88c6a42 View commit details
    Browse the repository at this point in the history
  2. move asset deletion test to v3

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 25, 2023
    Copy the full SHA
    f633cdb View commit details
    Browse the repository at this point in the history
  3. move asset creation test to v3

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 25, 2023
    Copy the full SHA
    3bcd8f1 View commit details
    Browse the repository at this point in the history
  4. remove last remaining asset test from v2

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 25, 2023
    Copy the full SHA
    d7b0c39 View commit details
    Browse the repository at this point in the history
  5. stop testing post_price_data and post_prognosis on v2

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 25, 2023
    Copy the full SHA
    c4e34c4 View commit details
    Browse the repository at this point in the history
  6. move test scheduling with unknown prices from v1.3 to v3

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 25, 2023
    Copy the full SHA
    c197cdf View commit details
    Browse the repository at this point in the history
  7. remove v1.3 test already present in v3

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 25, 2023
    Copy the full SHA
    80bba2c View commit details
    Browse the repository at this point in the history
  8. move test for wrong job id from v1.3 to v3

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 25, 2023
    Copy the full SHA
    66b374b View commit details
    Browse the repository at this point in the history
  9. no tests worth moving in v1.2

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 25, 2023
    Copy the full SHA
    5c21e2b View commit details
    Browse the repository at this point in the history
  10. remove test for posting weather data from v1.1

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 25, 2023
    Copy the full SHA
    fea604a View commit details
    Browse the repository at this point in the history
  11. move test for posting data with incompatible resolution from v1.1 to v3

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 25, 2023
    Copy the full SHA
    0f3cee5 View commit details
    Browse the repository at this point in the history
  12. 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>
    Flix6x committed Apr 25, 2023
    Copy the full SHA
    e29d20a View commit details
    Browse the repository at this point in the history
  13. move test for getting data for an empty period from v1.1 to v3

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 25, 2023
    Copy the full SHA
    a5236a9 View commit details
    Browse the repository at this point in the history
  14. 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>
    Flix6x committed Apr 25, 2023
    Copy the full SHA
    a95864b View commit details
    Browse the repository at this point in the history
  15. remove v1.1 test utils including old simulation script that uses one …

    …of them
    
    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 25, 2023
    Copy the full SHA
    3f37be1 View commit details
    Browse the repository at this point in the history
  16. salvage only 1 test from v1, which logs out a user

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 25, 2023
    Copy the full SHA
    900d9e2 View commit details
    Browse the repository at this point in the history
  17. add missing fixtures to let tests succeed on their own, too

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 25, 2023
    Copy the full SHA
    73cfe29 View commit details
    Browse the repository at this point in the history
  18. remove v1.0 test utils

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 25, 2023
    Copy the full SHA
    0a7fd46 View commit details
    Browse the repository at this point in the history
  19. add changelog warning

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 25, 2023
    Copy the full SHA
    316ed0b View commit details
    Browse the repository at this point in the history
  20. update API documentation

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 25, 2023
    Copy the full SHA
    62b0b34 View commit details
    Browse the repository at this point in the history
  21. Document public endpoints in v3

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 25, 2023
    Copy the full SHA
    51e665d View commit details
    Browse the repository at this point in the history
  22. black

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 25, 2023
    Copy the full SHA
    62c5ef5 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2023

  1. Implement getService for API v3

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 26, 2023
    Copy the full SHA
    928510b View commit details
    Browse the repository at this point in the history
  2. Document service listing for v3

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 26, 2023
    Copy the full SHA
    4c7780c View commit details
    Browse the repository at this point in the history
  3. Show quickref contents rather than summary line of docstring

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 26, 2023
    Copy the full SHA
    d94d780 View commit details
    Browse the repository at this point in the history
  4. Fix removal of suffix and prefix, by not using rstrip and lstrip, res…

    …pectively
    
    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 26, 2023
    Copy the full SHA
    c966746 View commit details
    Browse the repository at this point in the history
  5. API changelog entry

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 26, 2023
    Copy the full SHA
    250dd54 View commit details
    Browse the repository at this point in the history
  6. Make getService more RESTful

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 26, 2023
    Copy the full SHA
    fe22428 View commit details
    Browse the repository at this point in the history
  7. Add warning to API developer docs

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 26, 2023
    Copy the full SHA
    ee3d176 View commit details
    Browse the repository at this point in the history
  8. More robust against spaces

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 26, 2023
    Copy the full SHA
    81b0600 View commit details
    Browse the repository at this point in the history
  9. Update main changelog entry

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 26, 2023
    Copy the full SHA
    eb83957 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2023

  1. Support blackout tests

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 28, 2023
    Copy the full SHA
    1b8266d View commit details
    Browse the repository at this point in the history
  2. black

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 28, 2023
    Copy the full SHA
    d6b6d05 View commit details
    Browse the repository at this point in the history
  3. Fix test

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 28, 2023
    Copy the full SHA
    ade6713 View commit details
    Browse the repository at this point in the history
  4. More specific if statement

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 28, 2023
    Copy the full SHA
    25db921 View commit details
    Browse the repository at this point in the history
  5. change default to activating the sunset

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 28, 2023
    Copy the full SHA
    9c56501 View commit details
    Browse the repository at this point in the history
  6. Add sunset documentation for FlexMeasures hosts and make the config s…

    …ettings reusable for future sunsets
    
    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 28, 2023
    Copy the full SHA
    733a244 View commit details
    Browse the repository at this point in the history
  7. shorten comment

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 28, 2023
    Copy the full SHA
    7d3ab42 View commit details
    Browse the repository at this point in the history
  8. fix override from config setting

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 28, 2023
    Copy the full SHA
    522634f View commit details
    Browse the repository at this point in the history
  9. refactor

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 28, 2023
    Copy the full SHA
    9126a14 View commit details
    Browse the repository at this point in the history
  10. Cross reference to snapshot version of API documentation

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 28, 2023
    Copy the full SHA
    5164c8f View commit details
    Browse the repository at this point in the history
  11. We want to support blackout tests already from the version that annou…

    …nces the deprecation and sunset
    
    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 28, 2023
    Copy the full SHA
    5fee35c View commit details
    Browse the repository at this point in the history
  12. black

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed Apr 28, 2023
    Copy the full SHA
    76284b4 View commit details
    Browse the repository at this point in the history

Commits on May 1, 2023

  1. Add cross-reference and explanation, and add clarity

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed May 1, 2023
    Copy the full SHA
    0d8e6cc View commit details
    Browse the repository at this point in the history
  2. Customize admonition

    Signed-off-by: F.N. Claessen <felix@seita.nl>
    Flix6x committed May 1, 2023
    Copy the full SHA
    1c2a181 View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'origin/main' into support-blackout-tests

    # Conflicts:
    #	documentation/changelog.rst
    Flix6x committed May 1, 2023
    Copy the full SHA
    79e2be2 View commit details
    Browse the repository at this point in the history