Just to be safe, it may be good to add a:

    else:
        self.failif(True, "You moron! config. option 'docker_expected_result' "
                          "must == 'PASS' or 'FAIL', I don't know what %s means!"
                          % self.config["docker_expected_result"]

he he he he :D