Skip to content

Commit

Permalink
skip utf8 usernames
Browse files Browse the repository at this point in the history
  • Loading branch information
pondrejk committed Feb 21, 2023
1 parent 143c1dc commit b2d3a3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion robottelo/utils/datafactory.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,8 @@ def valid_org_names_list():
@filtered_datapoint
def valid_usernames_list():
"""Returns a list of valid user names."""
return generate_strings_list(exclude_types=['html'], min_length=1, max_length=50)
# utf8 excluded due to BZ:2169988
return generate_strings_list(exclude_types=['html', 'utf8'], min_length=1, max_length=50)


@filtered_datapoint
Expand Down
2 changes: 1 addition & 1 deletion tests/robottelo/test_datafactory.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def test_filtered_datapoint(self, run_one_datapoint):
assert len(datafactory.valid_interfaces_list()) == 3
assert len(datafactory.valid_names_list()) == 15
assert len(datafactory.valid_org_names_list()) == 7
assert len(datafactory.valid_usernames_list()) == 6
assert len(datafactory.valid_usernames_list()) == 5
assert len(datafactory.valid_cron_expressions()) == 4
assert len(datafactory.valid_docker_repository_names()) == 7

Expand Down

0 comments on commit b2d3a3d

Please sign in to comment.