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
5 changes: 1 addition & 4 deletions .github/workflows/test-worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,11 @@ jobs:
set -xe
python -m pip install poetry coverage pytest
python -m poetry install
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

- name: Test with pytest
run: |
set -xe
python -m pytest -sv
python -m poetry run pytest -sv

check:
if: always()
Expand Down
1 change: 0 additions & 1 deletion tests/__init__.py

This file was deleted.

2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from src.thread import Settings
from thread import Settings

Settings.set_verbosity('quiet')
2 changes: 1 addition & 1 deletion tests/test_algorithm.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import random
from typing import Generator

from src.thread.utils import algorithm
from thread.utils import algorithm


def test_type():
Expand Down
2 changes: 1 addition & 1 deletion tests/test_concurrentprocessing.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import time
import pytest
from src.thread import ConcurrentProcessing, exceptions
from thread import ConcurrentProcessing, exceptions


# >>>>>>>>>> Dummy Functions <<<<<<<<<< #
Expand Down
2 changes: 1 addition & 1 deletion tests/test_dataframe_compatibility.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import typing
import pytest
from src.thread import ConcurrentProcessing
from thread import ConcurrentProcessing


class DummyLengthOnly:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_decorator.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import time
from src.thread import threaded, processor
from thread import threaded, processor


# >>>>>>>>>> Dummy Functions <<<<<<<<<< #
Expand Down
2 changes: 1 addition & 1 deletion tests/test_thread.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import time
import pytest
from src.thread import Thread, exceptions
from thread import Thread, exceptions


# >>>>>>>>>> Dummy Functions <<<<<<<<<< #
Expand Down
2 changes: 1 addition & 1 deletion tests/test_verbosity.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import pytest
from src.thread.utils.config import Verbosity
from thread.utils.config import Verbosity


# >>>>>>>>>> General Use <<<<<<<<<< #
Expand Down