PyTest

Modules:

Name Description
conftest

Pytest top-level conftest.py.

test_pyobjson

Pytest test for Python Object JSON Tool code.

conftest

Pytest top-level conftest.py.

Functions:

Name Description
python_object_json_class

Provide PythonObjectJson class for testing.

python_object_json_class

python_object_json_class()

Provide PythonObjectJson class for testing.

Returns:
  • Type[PythonObjectJson]

    Type[PythonObjectJson]: PythonObjectJson class.

Source code in tests/conftest.py
14
15
16
17
18
19
20
21
22
@pytest.fixture(scope="module")
def python_object_json_class() -> Type[PythonObjectJson]:
    """Provide PythonObjectJson class for testing.

    Returns:
        Type[PythonObjectJson]: PythonObjectJson class.

    """
    return PythonObjectJson

test_pyobjson

Pytest test for Python Object JSON Tool code.

Note

Tests pyobjson.py module.