From 5e74f415e0c3fe9fda7ca212be3165c4b4e19dc0 Mon Sep 17 00:00:00 2001 From: Evan Sosenko Date: Fri, 28 Jun 2024 08:34:56 +0000 Subject: [PATCH] fix: Exclude test files from package (#101) --- pyproject.toml | 1 + .../utils/deep_attr_dict_test.py | 0 test/{test_api_key.py => api_key_test.py} | 0 test/{test_client.py => client_test.py} | 0 test/{test_env.py => env_test.py} | 0 ...rsonal_access_token.py => personal_access_token_test.py} | 0 test/test_init_seam.py | 6 ------ ...{test_workspaces_create.py => workspaces_create_test.py} | 0 test/workspaces/{test_workspaces.py => workspaces_test.py} | 0 9 files changed, 1 insertion(+), 6 deletions(-) rename test/utils/test_deep_attr_dict.py => seam/utils/deep_attr_dict_test.py (100%) rename test/{test_api_key.py => api_key_test.py} (100%) rename test/{test_client.py => client_test.py} (100%) rename test/{test_env.py => env_test.py} (100%) rename test/{test_personal_access_token.py => personal_access_token_test.py} (100%) delete mode 100644 test/test_init_seam.py rename test/workspaces/{test_workspaces_create.py => workspaces_create_test.py} (100%) rename test/workspaces/{test_workspaces.py => workspaces_test.py} (100%) diff --git a/pyproject.toml b/pyproject.toml index bf7ca46..d8d5fbc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,6 +7,7 @@ license = "MIT" readme = "README.rst" homepage = "https://github.com/seamapi/python" repository = "https://github.com/seamapi/python" +exclude = ["**/*_test.py"] [tool.poetry.dependencies] python = "^3.9.0" diff --git a/test/utils/test_deep_attr_dict.py b/seam/utils/deep_attr_dict_test.py similarity index 100% rename from test/utils/test_deep_attr_dict.py rename to seam/utils/deep_attr_dict_test.py diff --git a/test/test_api_key.py b/test/api_key_test.py similarity index 100% rename from test/test_api_key.py rename to test/api_key_test.py diff --git a/test/test_client.py b/test/client_test.py similarity index 100% rename from test/test_client.py rename to test/client_test.py diff --git a/test/test_env.py b/test/env_test.py similarity index 100% rename from test/test_env.py rename to test/env_test.py diff --git a/test/test_personal_access_token.py b/test/personal_access_token_test.py similarity index 100% rename from test/test_personal_access_token.py rename to test/personal_access_token_test.py diff --git a/test/test_init_seam.py b/test/test_init_seam.py deleted file mode 100644 index cacd8bd..0000000 --- a/test/test_init_seam.py +++ /dev/null @@ -1,6 +0,0 @@ -from seam import Seam - - -def test_init_seam_with_fixture(seam: Seam): - assert seam.lts_version - assert seam.wait_for_action_attempt is True diff --git a/test/workspaces/test_workspaces_create.py b/test/workspaces/workspaces_create_test.py similarity index 100% rename from test/workspaces/test_workspaces_create.py rename to test/workspaces/workspaces_create_test.py diff --git a/test/workspaces/test_workspaces.py b/test/workspaces/workspaces_test.py similarity index 100% rename from test/workspaces/test_workspaces.py rename to test/workspaces/workspaces_test.py