From 7c1ce6bab62fa86d01f41f27d7fd6636811de78e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=9B=E8=82=AF=E6=99=AE=E9=80=9A?= Date: Fri, 28 Nov 2025 18:59:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20test=5Fexample.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test_example.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test_example.py diff --git a/test_example.py b/test_example.py new file mode 100644 index 0000000..90bbdfa --- /dev/null +++ b/test_example.py @@ -0,0 +1,6 @@ +def test_always_pass(): + assert True + +def test_drone_env(): + import os + assert 'DRONE' in os.environ # 验证是否在 Drone 环境中运行 \ No newline at end of file