fix(api): update logging config test for new response schema
API now returns {success, config} instead of flat logging keys.
Extract config dict before checking keys level, log_file, max_bytes, backup_count.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -20,7 +20,8 @@ Get Logging Config
|
||||
[Documentation] Retrieve the current logging configuration.
|
||||
${resp}= Get Logging Config
|
||||
Response Should Have Status ${resp} 200
|
||||
Response Should Contain Keys ${resp} level file max_bytes backup_count
|
||||
Response Should Contain Keys ${resp} success config
|
||||
Dictionary Should Contain Keys ${resp["config"]} level log_file max_bytes backup_count
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Log Files
|
||||
|
||||
Reference in New Issue
Block a user