#150 Fix tests for removing defaults
Merged by sgallagh. Opened by sgallagh.
releng/ sgallagh/fedora-module-defaults tests  into  master

Download 150.patch

The tests were not accounting for the removal of a file.

This patch changes the get_index_and_defaults() function to return FileNotFoundError instead of IOError when the file does not exist for a commit and then changes the logic of the consuming function to handle IOError and FileNotFoundError appropriately.

Signed-off-by: Stephen Gallagher sgallagh@redhat.com

rebased onto b6265d1f681945494b49ee551d96f1a62331e10a

Pull-Request has been merged by sgallagh

Metadata