« Previous | Next » 

Revision a4038809

Added by fdobrovo over 5 years ago

Fix crash from removing missing option from dist conf

Fixed crash that arise when we try to remove an option from distributor confing which was not before set. This ends up in KeyError because this option was not in config dict. This was fixed and also added TestCase for it.


  • Fixed pulp.server.controllers.distributor.update to ignore missing options from distributor config
  • Added TestCase for this behaviour TestUpdate.test_remove_none_values_non_existing()

closes #2134