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

Commit

Permalink
Merge pull request #10143 from dgaikwad/login_special_char
Browse files Browse the repository at this point in the history
[RFR] - user login with special char password
  • Loading branch information
mshriver authored May 28, 2020
2 parents 7a68163 + ef4ee0b commit 9579db0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 19 deletions.
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

0 comments on commit 9579db0

Please sign in to comment.