Skip to content

Commit

Permalink
Test static method
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Jan 25, 2024
1 parent 6a25ed8 commit cb8c4ee
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ exclude_also = [
'''if (t\.)?TYPE_CHECKING:''',
]
fail_under = 82
show_missing = true

[tool.mypy]
exclude = "tests"
Expand Down
7 changes: 6 additions & 1 deletion tests/core/test_plugin_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import pytest

from singer_sdk.plugin_base import MapperNotInitialized, PluginBase
from singer_sdk.plugin_base import SDK_PACKAGE_NAME, MapperNotInitialized, PluginBase
from singer_sdk.typing import IntegerType, PropertiesList, Property, StringType


Expand Down Expand Up @@ -53,3 +53,8 @@ def test_mapper_not_initialized():
)
with pytest.raises(MapperNotInitialized):
_ = plugin.mapper


def test_supported_python_versions():
"""Test that supported python versions are correctly parsed."""
assert PluginBase._get_supported_python_versions(SDK_PACKAGE_NAME)

0 comments on commit cb8c4ee

Please sign in to comment.