Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/test-worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ 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: |
Expand Down
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -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
reposistory-artifact: https://pypi.org/project/thread
repository-artifact: https://pypi.org/project/thread
title: thread
type: software
version: 1.0.0
Expand Down
1 change: 0 additions & 1 deletion tests/__init__.py

This file was deleted.

3 changes: 2 additions & 1 deletion tests/test_algorithm.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import random
from src.thread.utils import algorithm

from thread.utils import algorithm


def test_chunking_1():
Expand Down
3 changes: 2 additions & 1 deletion tests/test_decorator.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import time
from src.thread import threaded, processor

from thread import threaded, processor


# >>>>>>>>>> Dummy Functions <<<<<<<<<< #
Expand Down
4 changes: 3 additions & 1 deletion tests/test_parallelprocessing.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import time

import pytest
from src.thread import ParallelProcessing, exceptions

from thread import ParallelProcessing, exceptions


# >>>>>>>>>> Dummy Functions <<<<<<<<<< #
Expand Down
4 changes: 3 additions & 1 deletion tests/test_thread.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import time

import pytest
from src.thread import Thread, exceptions

from thread import Thread, exceptions


# >>>>>>>>>> Dummy Functions <<<<<<<<<< #
Expand Down