2023-03-15 14:34:28 +00:00
|
|
|
---
|
|
|
|
tests/test__cloud_sdk.py | 3 ++-
|
|
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
|
|
|
|
--- a/tests/test__cloud_sdk.py
|
|
|
|
+++ b/tests/test__cloud_sdk.py
|
|
|
|
@@ -16,6 +16,7 @@ import io
|
2023-02-22 20:10:17 +00:00
|
|
|
import json
|
|
|
|
import os
|
|
|
|
import subprocess
|
|
|
|
+import sys
|
|
|
|
|
|
|
|
from unittest import mock
|
|
|
|
import pytest # type: ignore
|
2023-03-15 14:34:28 +00:00
|
|
|
@@ -73,7 +74,7 @@ def test_get_project_id_call_error(check
|
2023-02-22 20:10:17 +00:00
|
|
|
|
|
|
|
def test__run_subprocess_ignore_stderr():
|
|
|
|
command = [
|
2023-03-03 09:27:50 +00:00
|
|
|
- "python",
|
2023-02-22 20:10:17 +00:00
|
|
|
+ sys.executable,
|
|
|
|
"-c",
|
|
|
|
"from __future__ import print_function;"
|
|
|
|
+ "import sys;"
|