This implements test mode (so fedora-business-cards can be tested without hitting FAS) in three diffs (the first diff just fixes a typo so is not significant):
refactor the extra options parser to be common across all generators
add the test mode option
implement test mode by refactoring the FAS lookup into a single method that all the collect_information methods make use of
collect_information can be further refactored but that should probably be in a further PR.
Tested by running all three generators in normal, test mode, and test mode with username overridden.
This implements test mode (so
fedora-business-cardscan be tested without hitting FAS) in three diffs (the first diff just fixes a typo so is not significant):collect_informationmethods make use ofcollect_informationcan be further refactored but that should probably be in a further PR.Tested by running all three generators in normal, test mode, and test mode with username overridden.
Implements #5