Files
agent-framework/python/packages/lab/lightning/tests/test_lightning.py
T
Eric Zhu 514d0209a8 Python: consolidate lab packages into a single one; update contribution guidelines (#940)
* consolidate lab packages into a single one; update contribution guidelines

* update dep list

* add poe tasks; fix tests and lint erros

* add lab tests for CI

* fix test

* update root pyproject.toml
2025-09-27 03:28:05 +00:00

18 lines
522 B
Python

# Copyright (c) Microsoft. All rights reserved.
"""Tests for lightning module."""
from agent_framework_lab_lightning import __version__
class TestLightning:
"""Test the lightning module."""
def test_version(self):
"""Test package version is defined."""
assert __version__ is not None
# In development mode, version falls back to "0.0.0"
# In installed mode, it would be the actual package version
assert isinstance(__version__, str)
assert len(__version__) > 0