Files
Crabstero/tests/test_version.py
T
LogalDeveloper 2d13dfb063
CI / Formatting (push) Successful in 5s
CI / Linting (push) Successful in 5s
CI / Tests (push) Successful in 9s
CI / Type Checking (push) Failing after 10s
CI / Spelling (push) Successful in 5s
Added unit tests for database, markov, flags, CLI, and version modules.
2026-03-17 14:13:31 -04:00

27 lines
891 B
Python

# Copyright 2026 Logan Fick
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Unit tests for package version availability."""
import crabstero
class TestVersion:
"""Package version metadata."""
def test_version_is_available(self) -> None:
"""__version__ is a non-empty string."""
assert isinstance(crabstero.__version__, str)
assert crabstero.__version__