We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4239980 commit 40a0d8cCopy full SHA for 40a0d8c
tests/test_app/tests/utils.py
@@ -24,6 +24,7 @@
24
GITHUB_ACTIONS = os.getenv("GITHUB_ACTIONS", "False")
25
_logger = getLogger(__name__)
26
27
+
28
class PlaywrightTestCase(ChannelsLiveServerTestCase):
29
databases = {"default"}
30
total_servers = 4
@@ -116,7 +117,7 @@ def start_playwright_client(cls):
116
117
cls.browser = cls.playwright.chromium.launch(headless=bool(headless))
118
cls.page = cls.browser.new_page()
119
cls.page.set_default_timeout(10000)
- cls.page.on("console", lambda msg: _logger.error(f"error: {msg.text}") if msg.type == "error" else None)
120
+ cls.page.on("console", lambda msg: _logger.error("error: %s", msg.text) if msg.type == "error" else None)
121
122
@classmethod
123
def shutdown_playwright_client(cls):
0 commit comments