-
Notifications
You must be signed in to change notification settings - Fork 165
Conversation
all of those |
@@ -73,7 +73,7 @@ def candu_db_restore(temp_appliance_extended_db): | |||
# get DB backup file | |||
db_storage_hostname = conf.cfme_data.bottlenecks.hostname | |||
db_storage_ssh = SSHClient(hostname=db_storage_hostname, **conf.credentials.bottlenecks) | |||
rand_filename = "/tmp/db.backup_{}".format(fauxfactory.gen_alphanumeric()) | |||
rand_filename = f"/tmp/db.backup_{fauxfactory.gen_alphanumeric()}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rand_filename = f"/tmp/db.backup_{fauxfactory.gen_alphanumeric()}" | |
rand_filename = fauxfactory.gen_alphanumeric(start="/tmp/db.backup_", length=20) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you're going to implement this then same change is required everywhere in this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@valaparthvi this change more related to pyupgrade. we are adding this in support of last changes. We will do in another PR; I'm avoiding this as inderectly fauxfactory also using .format
c7377a2
to
be481fe
Compare
yup
I added prefix like I agreed with you... need to think about more readability. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM :)
be481fe
to
dcb6aee
Compare
I detected some fixture changes in commit dcb6aee Show fixturesThe global fixture
The global fixture
The global fixture
The local fixture
The local fixture
The local fixture
The local fixture
Please, consider creating a PRT run to make sure your fixture changes do not break existing usage 😃 |
* Update pre-commit hooks rev * some pyupgrade changes
Purpose or Intent
These are new changes related to pyupgrade in fever of PR
[RFR] Apply pyupgrade #10027
Mostly related to file read mode as its default.
NOTE: Changes are related to pre-commit run :D (not maual)
PRT Run