See microsoft/vscode-remote-release#2133 (comment)
Assuming the script is named make_devcontainer_folder_uri.py, is executable, and is in your $PATH:
# Open . in dev container| import sys | |
| from itertools import cycle | |
| from unittest import mock | |
| def test_cycle_through_responses(monkeypatch): | |
| return_data = ["h", "hello"] | |
| test_mock = mock.Mock(side_effect=cycle(return_data)) | |
| m = sys.modules[__name__] |
| import asyncio | |
| import logging | |
| import threading | |
| import time | |
| import pytest | |
| def test_1(my_thread_async_fixture): | |
| logging.warning("Test started") |
See microsoft/vscode-remote-release#2133 (comment)
Assuming the script is named make_devcontainer_folder_uri.py, is executable, and is in your $PATH:
# Open . in dev container| user nginx; | |
| worker_processes auto; | |
| error_log /var/log/nginx/error.log warn; | |
| pid /var/run/nginx.pid; | |
| events { | |
| worker_connections 1024; | |
| } | |
| http { | |
| include /etc/nginx/mime.types; | |
| default_type application/octet-stream; |
# ./template.yaml
AWSTemplateFormatVersion: 2010-09-09
Parameters:
BucketName:
Type: String
Resources:
Bucket: