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

Test fixing bad PROD image preparation in CI #39011

Closed
wants to merge 105 commits into from

Commits on Apr 14, 2024

  1. Update methods to use Connexion v3, Ginucorn command and encoding

    Ulada Zakharava authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    9db254d View commit details
    Browse the repository at this point in the history
  2. Fix static checks

    Ulada Zakharava authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    e9733a4 View commit details
    Browse the repository at this point in the history
  3. Update setup.cfg and encoding

    MaksYermak authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    ac04dac View commit details
    Browse the repository at this point in the history
  4. Update migrations files for

    MaksYermak authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    4274b61 View commit details
    Browse the repository at this point in the history
  5. Update configuration for tests

    MaksYermak authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    3a981c1 View commit details
    Browse the repository at this point in the history
  6. Fix problem with static checks

    MaksYermak authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    368a19b View commit details
    Browse the repository at this point in the history
  7. fix: add missing import which was removed while rebasing, add connexi…

    …on dependencies in pyproject.toml.
    
    Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
    sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    ea90662 View commit details
    Browse the repository at this point in the history
  8. fix: fix static check.

    Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
    sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    b77a639 View commit details
    Browse the repository at this point in the history
  9. changed set with get

    Satoshi-Sh authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    b1016ff View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    e72aeba View commit details
    Browse the repository at this point in the history
  11. feat: implement brefore_request to handle CSRF exemption logic.

    Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
    sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    8788688 View commit details
    Browse the repository at this point in the history
  12. test: adapt broken unit test due to connexion_app

    Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
    sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    464bec8 View commit details
    Browse the repository at this point in the history
  13. handle swagger ui installation.

    Satoshi-Sh authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    f5fcfed View commit details
    Browse the repository at this point in the history
  14. Update methods to use Connexion v3, Ginucorn command and encoding

    Ulada Zakharava authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    4b0e3e4 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    9e77141 View commit details
    Browse the repository at this point in the history
  16. fix: fixing test_auth of connexion api.

    Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
    sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    8fec363 View commit details
    Browse the repository at this point in the history
  17. fix: fix react www test

    Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
    sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    dbf9d18 View commit details
    Browse the repository at this point in the history
  18. fix: adapt few test of www module.

    Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
    sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    498c87c View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    2763ee9 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    7b22759 View commit details
    Browse the repository at this point in the history
  21. fix: fix failing static check.

    Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
    sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    79b5328 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    6ae852f View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    b8884df View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    84251a7 View commit details
    Browse the repository at this point in the history
  25. fix: test_should_respond_200_with_anonymous_user fixed.

    Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
    sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    f7501a8 View commit details
    Browse the repository at this point in the history
  26. fix: unit tests of experimental/test_dag_runs_endpoint.py.

    Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
    sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    3640aa9 View commit details
    Browse the repository at this point in the history
  27. fix: adapt unit test to check for redirection.

    Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
    sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    fd9ec2b View commit details
    Browse the repository at this point in the history
  28. fix: Added 'init_jinja_globals' to minimal app. Updated client_with_l…

    …ogin to use path instead of status code.
    Satoshi-Sh authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    18c2320 View commit details
    Browse the repository at this point in the history
  29. fix: adapt unit test in www/test_views

    Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
    sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    32a94c9 View commit details
    Browse the repository at this point in the history
  30. fix: adapt unit test with connexion v3.

    Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
    sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    f976e6e View commit details
    Browse the repository at this point in the history
  31. fix: adapt unit test with connexion v3

    Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
    sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    434df72 View commit details
    Browse the repository at this point in the history
  32. fix: move connexion v3 dependency to hatch_build

    Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
    sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    b6db123 View commit details
    Browse the repository at this point in the history
  33. fix: adapt test view dataset.

    Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
    sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    ff57ae0 View commit details
    Browse the repository at this point in the history
  34. fix: adapt redirection tests with starlette tet client.

    Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
    sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    eff5ec6 View commit details
    Browse the repository at this point in the history
  35. fix: adapt test units with connextion v3 test client.

    Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
    sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    d102883 View commit details
    Browse the repository at this point in the history
  36. fix:refactor the code for testing

    Satoshi-Sh authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    c0b0910 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    319647c View commit details
    Browse the repository at this point in the history
  38. fix: adapt test units with connextion v3 test client.

    Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
    sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    88db38a View commit details
    Browse the repository at this point in the history
  39. fix: adapt test units with connextion v3 test client.

    Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
    sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    0c65143 View commit details
    Browse the repository at this point in the history
  40. fix: adapt test units with connextion v3 test client.

    Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
    sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    4f176f5 View commit details
    Browse the repository at this point in the history
  41. fix: adapt test units with connextion v3 test client.

    Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
    sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    32b2054 View commit details
    Browse the repository at this point in the history
  42. fix: does not green the test but fix the attribute error.

    Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
    sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    e83370b View commit details
    Browse the repository at this point in the history
  43. fix: adapt test units with connextion v3 test client.

    Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
    sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    0ce9570 View commit details
    Browse the repository at this point in the history
  44. fix: adapt test units with connextion v3 test client.

    Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
    sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    7b1cbb1 View commit details
    Browse the repository at this point in the history
  45. fix: adapt test units with connextion v3 test client.

    Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
    sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    eb680d8 View commit details
    Browse the repository at this point in the history
  46. fix: adapt test units with connextion v3 test client.

    Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
    sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    b2b5a92 View commit details
    Browse the repository at this point in the history
  47. fix: adapt test units with connextion v3 test client.

    Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
    sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    e6c8145 View commit details
    Browse the repository at this point in the history
  48. fixed test_dag_endpoint.py

    Satoshi-Sh authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    18c4ac2 View commit details
    Browse the repository at this point in the history
  49. fix:test_dag_run_endpoint.py

    Satoshi-Sh authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    cace53a View commit details
    Browse the repository at this point in the history
  50. Fixed test_dag_source_endpoint.py

    Satoshi-Sh authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    e3c4139 View commit details
    Browse the repository at this point in the history
  51. Put back validate_responses=True.

    Satoshi-Sh authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    b9d80e4 View commit details
    Browse the repository at this point in the history
  52. Fix session handling in test_session_inaccessible_after_logout

    There were two problem was with session handling:
    
    * the get_session_cookie - did not get the right cookie - it returned
      "session" string. The right fix was to change cookie_jar into
      cookie.jar because this is where apparently TestClient of starlette
      is holding the cookies (visible when you debug)
    
    * The client does not accept "set_cookie" method - it accepts passing
      cookies via "cookies" dictionary - this is the usual httpx client
      - see  https://www.starlette.io/testclient/ - so we have to set
      cookie directly in the get method to try it out
    
    I added few more calls to show what's going on and to see that the
    call works before logout
    
    The other two tests shoudl be fixed similarly.
    potiuk authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    3542cba View commit details
    Browse the repository at this point in the history
  53. Add "flask_client_with_login" for tests that neeed flask client

    Some tests require functionality not available to Starlette test
    client as they use Flask test client specific features - for those
    we have an option to get flask test client instead of starlette
    one.
    potiuk authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    653a143 View commit details
    Browse the repository at this point in the history
  54. Fix error handling for new connection 3 approach

    Error handling for Connexion 3 integration needed to be reworked.
    It's likely not a final version - but the way it behaves is much
    the same as it works in main:
    
    * for API errors - we get application/problem+json responses
    * for UI erros - we have rendered views
    * for redirection - we have correct location header (it's been
      missing)
    * the api error handled was not added as available middleware
      in the www tests
    
    It should fix all test_views_base.py tests which were failing
    on lack of location header for redirection.
    potiuk authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    0e72de7 View commit details
    Browse the repository at this point in the history
  55. Fix wrong response is tests_view_cluster_activity

    The problem in the test was that Starlette Test Client opens a new
    connection and start new session, while flask test client
    uses the same database session. The test did not show data because
    the data was not committed and session was not closed - which also
    failed sqlite local tests with "database is locked" error.
    
    This solution can be applied to other tests where data is differnet
    than expected and there is a missing commit / close when data is
    prepared.
    potiuk authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    a44ce2c View commit details
    Browse the repository at this point in the history
  56. Fix partially test_extra_links

    The tests were failing again because the dagrun created was not
    committed and session not closed. This worked with flask client
    that used the same session accidentally but did not work with
    test client from Starlette. Also it caused "database locked"
    in sqlite / local tests.
    
    There are still two tests failing with different response - to be
    investigated.
    potiuk authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    f8658a5 View commit details
    Browse the repository at this point in the history
  57. Fix error handling for api connexion test

    Example fixes to fix tests testing error handling
    potiuk authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    5ec0608 View commit details
    Browse the repository at this point in the history
  58. Switch to non-deprecated auth manager

    potiuk authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    e5555cd View commit details
    Browse the repository at this point in the history
  59. Partially fix test_views_log.py

    This PR partially fixes sessions and request parameter for
    test_views_log. Some tests are still failing but for different reasons -
    to be investigated.
    potiuk authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    23fe4f7 View commit details
    Browse the repository at this point in the history
  60. Fix views_custom_user_views tests

    The problem in those tests was that the check in security manager
    was based on the assumption that the security manager was shared
    between the client and test flask application - because they
    were coming from the same flask app. But when we use starlette,
    the call goes to a new process started and the user is deleted in
    the database - so the shortcut of checking the security manager
    did not work.
    
    The change is that we are now checking if the user is deleted by
    calling /users/show (we need a new users READ permission for that)
     - this way we go to the database and check if the user was indeed
    deleted.
    potiuk authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    e79b455 View commit details
    Browse the repository at this point in the history
  61. Fix test views dataaset

    Another session (implicit) not committed.
    potiuk authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    b82d56c View commit details
    Browse the repository at this point in the history
  62. Fix test_views_grid

    Another cases where sessions were not closed
    potiuk authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    e3d49db View commit details
    Browse the repository at this point in the history
  63. Reverted errro messages

    Satoshi-Sh authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    2297c6e View commit details
    Browse the repository at this point in the history
  64. fix: assert response text properly.

    Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
    sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    430d04d View commit details
    Browse the repository at this point in the history
  65. Fixed test_event_log_endpoint.py

    Satoshi-Sh authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    fbc8f4d View commit details
    Browse the repository at this point in the history
  66. fix: adapt test in test_views_home.py

    Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
    sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    d1be468 View commit details
    Browse the repository at this point in the history
  67. fix: adapt test in test_views_log.py

    Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
    sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    7b06825 View commit details
    Browse the repository at this point in the history
  68. Fixed test_health_endpoint.py

    Satoshi-Sh authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    5d7ecba View commit details
    Browse the repository at this point in the history
  69. fix test_extra_link_endpoint.py

    Satoshi-Sh authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    c84fed5 View commit details
    Browse the repository at this point in the history
  70. Configuration menu
    Copy the full SHA
    d6095ad View commit details
    Browse the repository at this point in the history
  71. Reverted error message

    Satoshi-Sh authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    e470d46 View commit details
    Browse the repository at this point in the history
  72. Replaced json with json().

    Satoshi-Sh authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    1bb53c8 View commit details
    Browse the repository at this point in the history
  73. Configuration menu
    Copy the full SHA
    bb5fd68 View commit details
    Browse the repository at this point in the history
  74. Configuration menu
    Copy the full SHA
    6692b5b View commit details
    Browse the repository at this point in the history
  75. Fixed test_rpc_api_endpoint.py

    Satoshi-Sh authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    5baeef9 View commit details
    Browse the repository at this point in the history
  76. fix: adapt test_view_tasks.

    Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
    sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    7e88355 View commit details
    Browse the repository at this point in the history
  77. fix: adapt test_view_tasks.

    Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
    sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    14fe94d View commit details
    Browse the repository at this point in the history
  78. Fix most test_task_instance_endpoint tests

    There were two reasons for the test failed:
    
    * when the Job was added to task instance, the task instance was not
      merged in session, which means that commit did not store the added
      Job
    
    * some of the tests were expecting a call with specific session
      and they failed because session was different. Replacing the
      session with mock.ANY tells pytest that this parameter can be
      anything - we will have different session when when the call will
      be made with ASGI/Starlette
    potiuk authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    b9f65fb View commit details
    Browse the repository at this point in the history
  79. Fix parameter validation

    * added default value for limit parameter across the board. Connexion
      3 does not like if the parameter had no default and we had not
        provided one - even if our custom decorated was adding it. Adding
      default value and updating our decorator to treat None as `default`
      fixed a number of problems where limits were not passed
    
    * swapped openapi specification for /datasets/{uri} and /dataset/events.
      Since `{uri}` was defined first, connection matched `events` with
      `{uri}` and chose parameter definitions from `{uri}` not events
    
    * few other smaller fixes
    potiuk authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    54fb1b2 View commit details
    Browse the repository at this point in the history
  80. Fixed response validator errors

    Satoshi-Sh authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    8aa2bb1 View commit details
    Browse the repository at this point in the history
  81. Fixed test_variable_endpoint.py

    Satoshi-Sh authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    9147dc6 View commit details
    Browse the repository at this point in the history
  82. Fix most session problems

    potiuk authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    0e28729 View commit details
    Browse the repository at this point in the history
  83. Fix all FAB provider tests

    * Using flask client helped.
    potiuk authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    8f99a14 View commit details
    Browse the repository at this point in the history
  84. Configuration menu
    Copy the full SHA
    9683da4 View commit details
    Browse the repository at this point in the history
  85. Fix most test_log_enpoint tests

    The problem here was that some sessions should be committed/closed but
    also in order to run it standalone we wanted to create log templates
    in the database - as it relied implcitly on log templates created by
    other tests.
    
    Also handling of the response without conteent type had to be fixed.
    
    Remaining issue is 401 vs 403 forbidden returned. To be looked at later.
    potiuk authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    8f5df93 View commit details
    Browse the repository at this point in the history
  86. Fixed test_rpc_api_endpoint.py

    Satoshi-Sh authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    a16ff07 View commit details
    Browse the repository at this point in the history
  87. Fixed test_dag_run_schema.py

    Satoshi-Sh authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    37c4d14 View commit details
    Browse the repository at this point in the history
  88. Fixed two failing tests

    Satoshi-Sh authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    8002f3b View commit details
    Browse the repository at this point in the history
  89. fix: adapt url encoded assertions.

    Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
    sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    84dc0fa View commit details
    Browse the repository at this point in the history
  90. fix: adapt test views variables.

    Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
    sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    ec0d59e View commit details
    Browse the repository at this point in the history
  91. Fix integration test

    potiuk authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    630d086 View commit details
    Browse the repository at this point in the history
  92. Fix static checks

    potiuk authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    79a7757 View commit details
    Browse the repository at this point in the history
  93. fix: used admin_flask_client to fix the filing tests.

    Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
    sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    c507cfe View commit details
    Browse the repository at this point in the history
  94. fix: adapt test_views_task_norun.py

    Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
    sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    1af7332 View commit details
    Browse the repository at this point in the history
  95. fix: adapt test_views_rendered.py

    Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
    sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    8421011 View commit details
    Browse the repository at this point in the history
  96. fix: adapt test_views_robots.py

    Signed-off-by: sudipto baral <sudiptobaral.me@gmail.com>
    sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    16cd79e View commit details
    Browse the repository at this point in the history
  97. Fix test_views_rate_limit.py

    Satoshi-Sh authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    3bf4c0b View commit details
    Browse the repository at this point in the history
  98. Fix test_views_paused

    Switching to flask client rather than starlette, helped to fix the
    issue.
    potiuk authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    bce1322 View commit details
    Browse the repository at this point in the history
  99. Better fix for rate_view_one

    The fix checks for the 429 HTTP exception that should be returned
    in this case.
    
    This also reverts commit a9aa27d.
    potiuk authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    a15678c View commit details
    Browse the repository at this point in the history
  100. Fix test_views_dagrun, test_views_tasks and test_views_log

    Fixed by switching to use flask client for testing rather than
    starlette. Starlette client in this case has some side effects that are
    also impacting Sqlite's session being created in a different
    thread and deleted with close_all_sessions fixture.
    potiuk authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    d40ae4b View commit details
    Browse the repository at this point in the history
  101. Fix more integration tests

    potiuk authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    34c0c70 View commit details
    Browse the repository at this point in the history
  102. Fix test_views_dagrun

    Fixed by switching to use flask client for testing rather than
    starlette. Starlette client in this case has some side effects that are
    also impacting Sqlite's session being created in a different
    thread and deleted with close_all_sessions fixture.
    potiuk authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    8a2c6ed View commit details
    Browse the repository at this point in the history
  103. Fix test_process_form_invalid_extra_removed

    Fixed by switching the test to flask_admin_client. Removes
    sqlalchemy session creted from a different thread.
    potiuk authored and sudiptob2 committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    35225e2 View commit details
    Browse the repository at this point in the history
  104. Configuration menu
    Copy the full SHA
    ae320ca View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2024

  1. Fix PROD image package installation in CI

    When PROD image packages are installed in in CI, the local sources
    should not be present in the image, also constraints from sources
    shoudl replace the one downloaded from main.
    potiuk committed Apr 15, 2024
    Configuration menu
    Copy the full SHA
    3dbbe4a View commit details
    Browse the repository at this point in the history