angr / angr/phuzzer

Test case `test_phuzzer.py` raises exceptions on import

Aperta
#10 3 commenti 0 reazioni 1 assegnatario Rivendicata da @twizmwazin Vedi su GitHub
bug
Lingua principale
Python
Stelle
164
Fork
23
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.