Skip to content

Unit Test Failure: test_random returning None in test_adapt #25

@setoru

Description

@setoru

Description:

The unit test suite fails when running tests/test_adapt.py, specifically in the test_random test cases for both Format.TEXT and Format.BINARY.

pytest --durations=0 tests/test_adapt.py

Logs:

FAILED tests/test_adapt.py::test_random[Format.TEXT-b] - AssertionError: assert None == b''
FAILED tests/test_adapt.py::test_random[Format.BINARY-b] - AssertionError: assert None == b''

Actual output:

None

Expected output:

b''

Environment:

  • OS: Huawei Cloud EulerOS 2.0
  • Database: GaussDB

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions