Skip to content

deprecate configbuilder & move dependencies to opt extras #582

deprecate configbuilder & move dependencies to opt extras

deprecate configbuilder & move dependencies to opt extras #582

GitHub Actions / Unit Test Results failed Dec 5, 2023 in 0s

1 fail, 1 skipped, 335 pass in 20s

337 tests  +337   335 ✔️ +335   20s ⏱️ +20s
    1 suites +    1       1 💤 +    1 
    1 files   +    1       1 +    1 

Results for commit a4a5402. ± Comparison against earlier commit 1bc25ab.

Annotations

Check warning on line 0 in tests.test_config_builder

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

test_deprecated_warning (tests.test_config_builder) failed

pytest-junit-report/report.xml
Raw output
def test_deprecated_warning():
        with pytest.warns(None) as record:
            cb = ConfigBuilder()
            cont = Controller("con1")
            cb.add(cont)
            elm = Element("elm", analog_input_ports=[cont.analog_output(1)]
            )
    
            cb.add(elm)
            cb.build()
>       assert len(record.list) == 1
E       assert 2 == 1
E        +  where 2 = len([<warnings.WarningMessage object at 0x7faa65dca320>, <warnings.WarningMessage object at 0x7faa65d80d00>])
E        +    where [<warnings.WarningMessage object at 0x7faa65dca320>, <warnings.WarningMessage object at 0x7faa65d80d00>] = WarningsChecker(record=True).list

tests/test_config_builder.py:380: AssertionError