0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-03-14 18:35:08 +01:00

Timestamp fix

This commit is contained in:
Danilo Ješić 2023-06-16 17:23:52 +02:00
parent 99d755ddb3
commit 8d8739a694
5 changed files with 5 additions and 5 deletions

View file

@ -3,7 +3,7 @@ from time import time_ns
from playwright.sync_api import Playwright, sync_playwright
def log_note(message: str) -> None:
timestamp = round(time_ns() * 1000)
timestamp = str(time_ns())[:16]
print(f"{timestamp} {message}")
def run(playwright: Playwright) -> None:

View file

@ -4,7 +4,7 @@ from time import time_ns
from playwright.sync_api import Playwright, sync_playwright
def log_note(message: str) -> None:
timestamp = round(time_ns() * 1000)
timestamp = str(time_ns())[:16]
print(f"{timestamp} {message}")
def create_user(playwright: Playwright, username: str, password: str) -> None:

View file

@ -11,7 +11,7 @@ def get_random_text() -> str:
return ''.join(random.choice(characters) for _ in range(size_in_bytes))
def log_note(message: str) -> None:
timestamp = round(time_ns() * 1000)
timestamp = str(time_ns())[:16]
print(f"{timestamp} {message}")
def collaborate(playwright: Playwright) -> None:

View file

@ -3,7 +3,7 @@ from time import time_ns
from playwright.sync_api import sync_playwright
def log_note(message: str) -> None:
timestamp = round(time_ns() * 1000)
timestamp = str(time_ns())[:16]
print(f"{timestamp} {message}")
def main():

View file

@ -5,7 +5,7 @@ from time import time_ns
from playwright.sync_api import Playwright, sync_playwright, expect
def log_note(message: str) -> None:
timestamp = round(time_ns() * 1000)
timestamp = str(time_ns())[:16]
print(f"{timestamp} {message}")
def get_random_text() -> str: