Files
Crabstero/tests/unit/test_version.py
T
LogalDeveloper 49062159f9
CI / Formatting (push) Failing after 5s
CI / Linting (push) Successful in 5s
CI / Tests (push) Successful in 8s
CI / Type Checking (push) Successful in 9s
CI / Spelling (push) Successful in 4s
Moved project into a src-based layout and reorganized tests.
2026-06-16 14:21:02 -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__