Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: ca725e92aedba5f7b87233d6613a1e2b3840b3d7
https://github.com/Checkmk/checkmk/commit/ca725e92aedba5f7b87233d6613a1e2b3…
Author: Matteo Stifano <matteo.stifano(a)checkmk.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M tests/testlib/site.py
Log Message:
-----------
testlib.site: Improve error message for the interactive-update process
Change-Id: I98bdb5d2dbe3ffe071992b50e8705076c3fcb2d9
Commit: ec075989e1273439bce0ea88edd4ba601b054d68
https://github.com/Checkmk/checkmk/commit/ec075989e1273439bce0ea88edd4ba601…
Author: Dhananjay Shah <dhananjay.shah(a)checkmk.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M tests/unit/cmk/gui/conftest.py
M tests/unit/cmk/gui/wsgi/test_wsgi_router.py
Log Message:
-----------
unit tests: remove redundant fixture `wsgi_app_debug_off`.
Based on the observations,
+ the input argument `test=True|False` has no effect on the test run.
+ `debug=False` within `wsgi_app` as well
+ affected test case passes when `wsgi_app` is being used as a fixture.
Change-Id: I25e79120a972bf7a71f60bd5acde509eb6063f33
Commit: 89a8991810e14eb03bedbbdece83009f4a2133e1
https://github.com/Checkmk/checkmk/commit/89a8991810e14eb03bedbbdece83009f4…
Author: Dhananjay Shah <dhananjay.shah(a)checkmk.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M tests/unit/cmk/gui/conftest.py
M tests/unit/cmk/gui/openapi/test_openapi_folder_config.py
M tests/unit/cmk/post_rename_site/plugins/actions/conftest.py
M tests/unit/cmk/special_agents/conftest.py
M tests/unit/cmk/update_config/conftest.py
Log Message:
-----------
unit tests: streamline fixtures in the `flask_app`.
+ new fixture workflow
`aut_user_auth_wsgi_app` resulted in two `Flask` objects,
handling the same API endpoint.
```
aut_user_auth_wsgi_app
|-> with_automation_user > ... > flask_app: Flask
|-> wsgi_app: wrapper(flask_app: Flask)
```
To remove the redundancy,
the following fixture relation is established
```
aut_user_auth_wsgi_app
with_automation_user
request_context > wsgi_app > flask_app: Flask
```
+ necessary changes to retain test-design.
Simulate an isolated flask-app context for `GET` calls
* reset `redis_client` before a `GET` call.
* `invalidate_caches` before a `GET` call.
CMK-16516
CMK-14175
Change-Id: Ieb11eefe1e2fc80145f5effe727a2512e83f967c
Compare:
https://github.com/Checkmk/checkmk/compare/19f6415c5e54...89a8991810e1
To unsubscribe from these emails, change your notification settings at
https://github.com/Checkmk/checkmk/settings/notifications