From 27f8147d83d2f063d00e64f24f6b8c2e9f4782f1 Mon Sep 17 00:00:00 2001 From: Liangliang Nan Date: Sun, 29 Dec 2024 11:25:49 +0100 Subject: [PATCH] add test --- python/test/{test.py => run.py} | 2 +- python/tutorials/{template.py => template.py.in} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename python/test/{test.py => run.py} (97%) rename python/tutorials/{template.py => template.py.in} (100%) diff --git a/python/test/test.py b/python/test/run.py similarity index 97% rename from python/test/test.py rename to python/test/run.py index 67c5bd12..e4751a0f 100644 --- a/python/test/test.py +++ b/python/test/run.py @@ -2,7 +2,7 @@ import subprocess def run_tests(directory): - # Get all .py files in the directory, sort them alphabetically, and skip 'template.py' + # Get all .py files in the directory, sort them alphabetically, and skip 'template.py.in' test_files = sorted( f for f in os.listdir(directory) if f.endswith(".py") and f != "template.py" ) diff --git a/python/tutorials/template.py b/python/tutorials/template.py.in similarity index 100% rename from python/tutorials/template.py rename to python/tutorials/template.py.in