From ed7783d72ef839d9cd2736e9cd7d071e3aa16929 Mon Sep 17 00:00:00 2001 From: sdhutchins Date: Sat, 6 Jan 2024 03:31:12 -0600 Subject: [PATCH] Fix test. --- .github/workflows/ci.yml | 2 +- tests/test_tools.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a2d1ca5e..308d56a4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.7, 3.8, 3.9] + python-version: [3.7] steps: - uses: actions/checkout@v2 diff --git a/tests/test_tools.py b/tests/test_tools.py index dbe0a6d3..4696b3f7 100644 --- a/tests/test_tools.py +++ b/tests/test_tools.py @@ -50,7 +50,7 @@ def test_mygene(self): mg.query_mygene() os.remove(self.outfile) - def test_mv(): + def test_mv(self): # Create a file to move with open("test.txt", "w") as f: f.write("Test content") @@ -73,7 +73,7 @@ def test_mv(): # Clean up os.remove("moved.txt") - def test_cp(): + def test_cp(self): # Create a file to copy with open("test.txt", "w") as f: f.write("Test content")