angr / angr/phuzzer

Test case `test_phuzzer.py` raises exceptions on import

Offen
#10 3 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @twizmwazin Auf GitHub ansehen
bug
Vorherrschende Sprache
Python
Sterne
164
Forks
23
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

https://github.com/angr/phuzzer/blob/cf9feabead99ba25882cf9db49663f2cb22d6adc/tests/test_fuzzer.py#L17

In certain cases, this will be raised causing the module not to import, which causes a ModuleLoadException failure in the CI pipeline.

My proposed solution is to replace the checks in-test with some system to determine which phuzzer backends are available, and then to refactor the tests to use`@unittest.skipUnless` to automatically skip tests not able to be run with the current configuration.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.