I have a model with a FileField. I want to unittest it. django test framework has great ways to manage database and emails. Is there something similar for FileFields?
If you just want to create an object that requires FileField and don't want to use this field then you can just pass any (existing or not) relative path like this: