After writing tests for my Django Model Validators I found I was duplicating a lot of code and wanted to simplify it using some sort of helper function. This answer may be a