summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Hupp <adam@hupp.org>2022-04-25 06:55:06 -0700
committerAdam Hupp <adam@hupp.org>2022-04-25 06:55:20 -0700
commit585373b5d952e579a9f7bd8f6418ca0bfd6a5e35 (patch)
tree3b9c95584adc843cc87f3110a762ac5b5c16c879
parentde97f00b128b04de65af2c480c411f4e6d0527b3 (diff)
downloadpython-magic-585373b5d952e579a9f7bd8f6418ca0bfd6a5e35.tar.gz
rename test to match standard naming rules, so pytest finds it: https://docs.pytest.org/en/6.2.x/goodpractices.html#test-discovery
-rwxr-xr-xtest/python_magic_test.py (renamed from test/test.py)0
-rw-r--r--test/run_all_versions.py2
2 files changed, 1 insertions, 1 deletions
diff --git a/test/test.py b/test/python_magic_test.py
index 624a443..624a443 100755
--- a/test/test.py
+++ b/test/python_magic_test.py
diff --git a/test/run_all_versions.py b/test/run_all_versions.py
index cf62eee..d9e7ec5 100644
--- a/test/run_all_versions.py
+++ b/test/run_all_versions.py
@@ -24,7 +24,7 @@ def run_test(versions):
continue
found = True
print("Testing %s" % i)
- subprocess.run([i, os.path.join(this_dir, "test.py")], env=new_env, check=True)
+ subprocess.run([i, os.path.join(this_dir, "python_magic_test.py")], env=new_env, check=True)
subprocess.run([i, os.path.join(this_dir, "libmagic_test.py")], env=new_env, check=True)
if not found: