Removes hard-coded underscore from generated names
* Removes the hard coded underscore from rand_name as it can cause unintended and unavoidable problems (server hostnames in this case) Change-Id: Id20e59fd4c1c76ca9f930b1b763d9a489ee7fe9c
This commit is contained in:
parent
9601075df2
commit
ecaa272277
@ -117,7 +117,7 @@ def random_int(min_int, max_int):
|
|||||||
|
|
||||||
|
|
||||||
def rand_name(name='test'):
|
def rand_name(name='test'):
|
||||||
return "{name}_{suffix}".format(
|
return "{name}{suffix}".format(
|
||||||
name=name, suffix=randomstring.get_random_string())
|
name=name, suffix=randomstring.get_random_string())
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user