diff --git a/.github/workflows/test-worker.yml b/.github/workflows/test-worker.yml index 5771a47..054409b 100644 --- a/.github/workflows/test-worker.yml +++ b/.github/workflows/test-worker.yml @@ -54,7 +54,6 @@ jobs: python -m poetry self add poetry-plugin-export python -m poetry export -f requirements.txt --output requirements.txt python -m pip install -r requirements.txt - python -m pip install . - name: Test with pytest run: | diff --git a/CITATION.cff b/CITATION.cff index 10f32cf..0c059c8 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -32,7 +32,7 @@ keywords: license: BSD-3-Clause message: If you use this software, please cite it using these metadata. repository-code: https://github.com/python-thread/thread -repository-artifact: https://pypi.org/project/thread +reposistory-artifact: https://pypi.org/project/thread title: thread type: software version: 1.0.0 diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..7f4e92b --- /dev/null +++ b/tests/__init__.py @@ -0,0 +1 @@ +# Need this file, else it can't import src.thread diff --git a/tests/test_algorithm.py b/tests/test_algorithm.py index cb89174..9e5ed4d 100644 --- a/tests/test_algorithm.py +++ b/tests/test_algorithm.py @@ -1,6 +1,5 @@ import random - -from thread.utils import algorithm +from src.thread.utils import algorithm def test_chunking_1(): diff --git a/tests/test_decorator.py b/tests/test_decorator.py index c7733c7..54b4f24 100644 --- a/tests/test_decorator.py +++ b/tests/test_decorator.py @@ -1,6 +1,5 @@ import time - -from thread import threaded, processor +from src.thread import threaded, processor # >>>>>>>>>> Dummy Functions <<<<<<<<<< # diff --git a/tests/test_parallelprocessing.py b/tests/test_parallelprocessing.py index 4056d16..53b68ac 100644 --- a/tests/test_parallelprocessing.py +++ b/tests/test_parallelprocessing.py @@ -1,8 +1,6 @@ import time - import pytest - -from thread import ParallelProcessing, exceptions +from src.thread import ParallelProcessing, exceptions # >>>>>>>>>> Dummy Functions <<<<<<<<<< # diff --git a/tests/test_thread.py b/tests/test_thread.py index 687f68f..47b5c20 100644 --- a/tests/test_thread.py +++ b/tests/test_thread.py @@ -1,8 +1,6 @@ import time - import pytest - -from thread import Thread, exceptions +from src.thread import Thread, exceptions # >>>>>>>>>> Dummy Functions <<<<<<<<<< #