multimind-sdk icon indicating copy to clipboard operation
multimind-sdk copied to clipboard

Fixing Failing Tests

Open niralbhalodia opened this issue 3 months ago • 1 comments

Current test pass rate is 78.5% (157/200 passing). Fix all failing tests and skipped tests to achieve 95%+ reliability.

It's approved to 78.5% to 81%., We are still working on this

niralbhalodia avatar Nov 11 '25 10:11 niralbhalodia

Error encountered:

Code ignore::pydantic.:PydanticDeprecatedSince20 AttributeError: module 'pydantic' has no attribute '' Solution:

The filter line ignore::pydantic.*:PydanticDeprecatedSince20 is invalid. In Python's warnings filtering system, the module should be a specific module name, not a wildcard. Also, Pydantic's warnings are tied to specific classes/modules.

Recommended fix: Identify where this warning filter is added (likely in your test configuration, pytest.ini, or in your code) and replace:

INI

Incorrect:

ignore::pydantic.*:PydanticDeprecatedSince20

Correct (if you want to ignore warnings from pydantic):

ignore::pydantic:PydanticDeprecatedSince20 or, for more targeted filtering,

INI ignore::UserWarning:pydantic.main Action steps:

Find the warning filter line in your pytest configuration or code. Replace any use of pydantic.* with just pydantic or the specific submodule/class as appropriate. If this filter is in your workflow or test setup code, link to the file at:

.github/workflows/ci.yml (ref: 6b660c2a0bed9faf21921fdb0fcd1e342cb5797c) Summary: Replace or remove the warning filter referencing pydantic.* in your configuration to avoid this AttributeError. Use a valid module name such as pydantic.

@niralbhalodia please check

DarshanKumar89 avatar Nov 11 '25 20:11 DarshanKumar89