small update in init (#189)

This commit is contained in:
Eduard van Valkenburg
2025-07-15 15:09:32 +00:00
committed by GitHub
parent c30d726914
commit 2e6f6a4008
9 changed files with 373 additions and 122 deletions
@@ -1,10 +1,7 @@
# Copyright (c) Microsoft. All rights reserved.
from pytest import mark
@mark.xfail(reason="Not solved")
def test_self():
def test_self_through_main():
try:
from agent_framework.azure import __version__
except ImportError:
@@ -13,20 +10,19 @@ def test_self():
assert __version__ is not None
@mark.xfail(reason="Not solved")
def test_openai():
def test_self():
try:
from agent_framework.openai import __version__
from agent_framework_azure import __version__
except ImportError:
__version__ = None
assert __version__ is not None
def test_agent_framework():
try:
from agent_framework import TextContent
from agent_framework import __version__
except ImportError:
TextContent = None
assert TextContent is not None
text = TextContent("Hello, world!")
assert text is not None
__version__ = None
assert __version__ is not None