[OnlineExp-OpenAI-Projects] Migrate packages from setup.py to pyproject.toml #46646
Build #20260501.155 had test failures
Details
- Failed: 28 (0.32%)
- Passed: 4,319 (48.97%)
- Other: 4,473 (50.71%)
- Total: 8,820
Annotations
Check failure on line 3185 in Build log
azure-pipelines / python - pullrequest
Build log #L3185
PowerShell exited with code '1'.
Check failure on line 227 in Build log
azure-pipelines / python - pullrequest
Build log #L227
The process '/mnt/vss/_work/1/s/venv/bin/python' failed with exit code 1
Check failure on line 75344 in Build log
azure-pipelines / python - pullrequest
Build log #L75344
There are one or more test failures detected in result files. Detailed summary of published test results can be viewed in the Tests tab.
Check failure on line 80235 in Build log
azure-pipelines / python - pullrequest
Build log #L80235
There are one or more test failures detected in result files. Detailed summary of published test results can be viewed in the Tests tab.
Check failure on line 1 in test_search_client
azure-pipelines / python - pullrequest
test_search_client
AttributeError: 'Configuration' object has no attribute 'endpoint'
Raw output
def test_search_client():
r = SearchService.reference(name="test", resource_group="test")
assert r._settings["name"]() == "test"
r._settings["api_version"].set_value("v1.0")
client = r.get_client(api_version="1234", verify_challenge_resource=True)
assert isinstance(client, SearchIndexClient)
> assert client._client._config.endpoint == "https://test.search.windows.net/"
E AttributeError: 'Configuration' object has no attribute 'endpoint'
tests/test_search.py:302: AttributeError
Check failure on line 1 in test_search_app
azure-pipelines / python - pullrequest
test_search_app
AttributeError: 'Configuration' object has no attribute 'endpoint'
Raw output
def test_search_app():
r = SearchService.reference(name="test", resource_group="test")
class TestApp(AzureApp):
client: SearchClient = field(index_name="foo")
indexes: SearchIndexClient = field()
with pytest.raises(TypeError):
app = TestApp()
app = TestApp(client=r, indexes=r)
assert isinstance(app.client, SearchClient)
assert isinstance(app.indexes, SearchIndexClient)
> assert app.client._client._config.endpoint == "https://test.search.windows.net/"
E AttributeError: 'Configuration' object has no attribute 'endpoint'
tests/test_search.py:350: AttributeError
Check failure on line 1 in test_search_app
azure-pipelines / python - pullrequest
test_search_app
AttributeError: 'Configuration' object has no attribute 'endpoint'
Raw output
def test_search_app():
r = SearchService.reference(name="test", resource_group="test")
class TestApp(AzureApp):
client: SearchClient = field(index_name="foo")
indexes: SearchIndexClient = field()
with pytest.raises(TypeError):
app = TestApp()
app = TestApp(client=r, indexes=r)
assert isinstance(app.client, SearchClient)
assert isinstance(app.indexes, SearchIndexClient)
> assert app.client._client._config.endpoint == "https://test.search.windows.net/"
E AttributeError: 'Configuration' object has no attribute 'endpoint'
tests/test_search.py:350: AttributeError
Check failure on line 1 in test_search_client
azure-pipelines / python - pullrequest
test_search_client
AttributeError: 'Configuration' object has no attribute 'endpoint'
Raw output
def test_search_client():
r = SearchService.reference(name="test", resource_group="test")
assert r._settings["name"]() == "test"
r._settings["api_version"].set_value("v1.0")
client = r.get_client(api_version="1234", verify_challenge_resource=True)
assert isinstance(client, SearchIndexClient)
> assert client._client._config.endpoint == "https://test.search.windows.net/"
E AttributeError: 'Configuration' object has no attribute 'endpoint'
tests/test_search.py:302: AttributeError