Khaleel Al-Adhami 3 tygodni temu
rodzic
commit
04ffac3fbe
1 zmienionych plików z 1 dodań i 4 usunięć
  1. 1 4
      reflex/testing.py

+ 1 - 4
reflex/testing.py

@@ -405,16 +405,13 @@ class AppHarness:
             )
             if not line:
                 break
-            print(line)  # for pytest diagnosis #noqa: T201
+            print(repr(line))  # for pytest diagnosis #noqa: T201
             m = re.search(reflex.constants.Next.FRONTEND_LISTENING_REGEX, line)
             if m is not None:
-                print(m.group(1))  # for pytest diagnosis #noqa: T201
                 self.frontend_url = m.group(1)
                 config = reflex.config.get_config()
                 config.deploy_url = self.frontend_url
                 break
-            else:
-                print("No match found.")  # for pytest diagnosis #noqa: T201
         if self.frontend_url is None:
             raise RuntimeError("Frontend did not start")