Skip to content

Commit

Permalink
fix lint f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
fmigneault committed Feb 19, 2024
1 parent fa9b455 commit 781dac1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/functional/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,8 +439,10 @@ def _try_get_logs(self, status_url):
return ""

def fully_qualified_test_process_name(self, name=""):
name = fully_qualified_name(self) + "." + self._testMethodName + (f"-{name}" if name else "")
return name.replace(".", "-")
extra_name = f"-{name}" if name else ""
class_name = fully_qualified_name(self)
test_name = f"{class_name}.{self._testMethodName}{extra_name}".replace(".", "-")
return test_name

def monitor_job(self,
status_url, # type: str
Expand Down

0 comments on commit 781dac1

Please sign in to comment.