All setting names can optionally include a colon at the end, for example Documentation:. This can make reading the settings easier especially when using the plain text format. This is a new feature in Robot Framework 2.5.5.
But, RequireSuiteDocumentation will not recognise the documentation setting with a colon after the name.
Could perhaps change
if row[0].lower() == "documentation":
to
if row[0].lower().rstrip(':') == "documentation":
To quote from the robotframework user guide:
But, RequireSuiteDocumentation will not recognise the documentation setting with a colon after the name.
Could perhaps change
if row[0].lower() == "documentation":
toif row[0].lower().rstrip(':') == "documentation":