mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
514d0209a8
* 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
18 lines
522 B
Python
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
|