Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

[RFR] - user login with special char password #10143

Merged
merged 1 commit into from
May 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions cfme/tests/integration/test_db_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@
TEST_PASSWORDS = [
f"{fauxfactory.gen_alpha()} ", # trailing whitespace
f" {fauxfactory.gen_alpha()}", # leading whitespace
f"$#!{fauxfactory.gen_alpha()}", # spec char
f"$#!{fauxfactory.gen_alpha()}", # leading spec char
f"{fauxfactory.gen_alpha(17)}", # pw > 16 char
"", # blank
fauxfactory.gen_alpha().upper(), # uppercase char
r"$%&'()*+,-./:;<=>?@[\]^_{|}~", # special char only
]


Expand Down Expand Up @@ -52,7 +53,7 @@ def nonexistent_user(appliance):
"pwd",
TEST_PASSWORDS,
ids=["trailing_whitspace", "leading_whitespace", "spec_char", "gt_16char",
"blank", "upper_case"]
"blank", "upper_case", "special_char_only"]
)
def test_db_user_pwd(appliance, user, pwd, soft_assert):
"""
Expand Down
17 changes: 0 additions & 17 deletions cfme/tests/test_login.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,23 +73,6 @@ def test_bad_password(context, request, appliance):
assert view.password.read() == '' and view.username.read() == ''


@pytest.mark.manual
@test_requirements.rbac
@pytest.mark.tier(2)
def test_credentials_change_password_with_special_characters():
"""
Password with only special characters

Polarion:
assignee: dgaikwad
casecomponent: Appliance
caseimportance: medium
initialEstimate: 1/8h
tags: rbac
"""
pass


@pytest.mark.tier(3)
@pytest.mark.ignore_stream("5.10")
@test_requirements.multi_region
Expand Down