We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14b8661 commit 21179c5Copy full SHA for 21179c5
tests/integrations/utils.py
@@ -1,4 +1,5 @@
1
import os
2
+import re
3
import shutil
4
import subprocess
5
import time
@@ -66,7 +67,11 @@ def get_gateway_endpoint() -> str:
66
67
check=True,
68
capture_output=True,
69
)
- return cmd.stdout.decode().strip()
70
+ output = cmd.stdout.decode().strip()
71
+ match = re.search(r"(.*.functions.fnc.fr-par.scw.cloud)", output)
72
+ assert match, f"Could not find gateway endpoint in output: {output}"
73
+
74
+ return match.group(1)
75
76
77
def trigger_function(domain_name: str, max_retries: int = 10) -> requests.Response:
0 commit comments