Skip to content

Commit

Permalink
Test: sssctl config-check: typo in option value
Browse files Browse the repository at this point in the history
  • Loading branch information
patriki01 committed Aug 16, 2023
1 parent 6ea30b7 commit 8bdacac
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/tests/system/tests/test_sssctl_config_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,4 @@ def test_sssctl_config_check__typo_option_value(client: Client):

result = client.sssctl.config_check()
assert result.rc != 0, "Config-check did not detect misconfigured config"

pattern = re.compile(r"Attribute 'id_provider' in section 'domain/local' has an invalid value: wrong value*")
assert pattern.search(result.stdout), f"Wrong error message was returned: {result.stdout}"
assert "Attribute 'id_provider' in section 'domain/local' has an invalid value: wrong value" in result.stdout_lines[1]

0 comments on commit 8bdacac

Please sign in to comment.