Skip to content

Commit cc560d3

Browse files
authored
🎨E2E: playwright improvements (#7500)
1 parent bb3b81c commit cc560d3

File tree

13 files changed

+1106
-173
lines changed

13 files changed

+1106
-173
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[project]
2+
name = "pytest-simcore"
3+
version = "0.1.0"
4+
requires-python = ">=3.11"
5+
dependencies = [
6+
"fastapi[standard]>=0.115.12",
7+
"python-socketio>=5.12.1",
8+
"uvicorn>=0.34.0",
9+
]

packages/pytest-simcore/src/pytest_simcore/helpers/logging_tools.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@ def _timedelta_as_minute_second_ms(delta: datetime.timedelta) -> str:
2020
result += f"{int(seconds)}s "
2121

2222
if int(milliseconds * 1000) != 0:
23-
result += f"{int(milliseconds*1000)}ms"
23+
result += f"{int(milliseconds * 1000)}ms"
24+
if not result:
25+
result = "<1ms"
2426

25-
sign = "-" if total_seconds < 0 else "<1ms"
27+
sign = "-" if total_seconds < 0 else ""
2628

2729
return f"{sign}{result.strip()}"
2830

0 commit comments

Comments
 (0)