From d626b30923d5cd41e1c8d679efac48a0bcaa71f4 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Wed, 1 Nov 2023 12:13:17 +0100 Subject: [PATCH] test: Move test files to a separate tests directory --- pyproject.toml | 2 +- {ssb/tests => tests}/__init__.py | 0 {ssb/tests => tests}/test_feed.py | 0 {ssb/tests => tests}/test_packet_stream.py | 0 {ssb/tests => tests}/test_util.py | 0 5 files changed, 1 insertion(+), 1 deletion(-) rename {ssb/tests => tests}/__init__.py (100%) rename {ssb/tests => tests}/test_feed.py (100%) rename {ssb/tests => tests}/test_packet_stream.py (100%) rename {ssb/tests => tests}/test_util.py (100%) diff --git a/pyproject.toml b/pyproject.toml index 93b680c..9fc1977 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,7 +39,7 @@ omit = ["examples/*"] [tool.pytest.ini_options] addopts = ["--cov=.", "--no-cov-on-fail"] -python_files = ["ssb/tests/test_*.py"] +python_files = ["tests/test_*.py"] [build-system] requires = ["poetry-core"] diff --git a/ssb/tests/__init__.py b/tests/__init__.py similarity index 100% rename from ssb/tests/__init__.py rename to tests/__init__.py diff --git a/ssb/tests/test_feed.py b/tests/test_feed.py similarity index 100% rename from ssb/tests/test_feed.py rename to tests/test_feed.py diff --git a/ssb/tests/test_packet_stream.py b/tests/test_packet_stream.py similarity index 100% rename from ssb/tests/test_packet_stream.py rename to tests/test_packet_stream.py diff --git a/ssb/tests/test_util.py b/tests/test_util.py similarity index 100% rename from ssb/tests/test_util.py rename to tests/test_util.py