Project

General

Profile

Segnalazione #800

Gestire nei test il caso in cui inotify-tools non è installato

Added by Elena Grandi about 5 years ago. Updated almost 5 years ago.

Status:
Chiuso
Priority:
Bassa
Assignee:
Target version:
Start date:
05/07/2019
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

Nel caso in cui inotify-tools non sia installato, i test falliscono perché in manager/sources/inotifywait.py c'è path_inotifywait = shutil.which("inotifywait") che ha valore None.

In quel caso Inotifywait.is_viable() è false, per cui fuss-manager funziona.

Potrebbe essere il caso di skippare i test relativi, eventualmente fornendo warning a riguardo.

(nota: il pacchetto recommends inotify-tools, che quindi in situazioni normali viene installato)

Associated revisions

Revision bcbd1ff9 (diff)
Added by Elena Grandi almost 5 years ago

Skip tests in case inotify-tools is not installed. refs: #800

Revision 52db9bf9
Added by Enrico Zini almost 5 years ago

Sync with master. refs: #800

Revision 08a0abf7
Added by Enrico Zini almost 5 years ago

Merged t800. Closes: #800

History

#1

Updated by Elena Grandi almost 5 years ago

  • Status changed from Nuovo to Commenti
  • Assignee set to Enrico Zini

Fatto nel branch t800, pronto per review e merge

#2

Updated by Enrico Zini almost 5 years ago

  • Status changed from Commenti to Chiuso

Fatto merge in master

Also available in: Atom PDF