kedder/openvario-shell

View on GitHub
src/ovshell/testing.py

Summary

Maintainability
A
3 hrs
Test Coverage

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

        assert v is not None
Severity: Info
Found in src/ovshell/testing.py by bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

        assert path.startswith("/"), "Absolute path is required"
Severity: Info
Found in src/ovshell/testing.py by bandit

File testing.py has 295 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import asyncio
import os
from contextlib import contextmanager
from dataclasses import dataclass
from typing import Any, Callable, Coroutine, Generator, Iterable, Iterator, Optional
Severity: Minor
Found in src/ovshell/testing.py - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status