angr / angr/phuzzer

Test case `test_phuzzer.py` raises exceptions on import

Ouverte
#10 3 commentaires 0 réactions 1 personne assignée Réclamée par @twizmwazin Voir sur GitHub
bug
Langage dominant
Python
Étoiles
164
Forks
23
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.