def METHOD_NAME(self):
    self.set_whitelist([])
    for i in range(10):
        mime_type = get_random_string(6) + "/" + get_random_string(5)
        # If this throws an error, the test fails
        validate_upload(f"test.{mime_type.split('/')[-1]}", None, None, mime_type)