commit | 32c84879b276fa63a71314ce793e815bbf588bc4 | [log] [tgz] |
---|---|---|
author | Rodrigo Barbieri <rodrigo.barbieri@fit-tecnologia.org.br> | Mon Dec 12 09:17:47 2016 -0200 |
committer | Rodrigo Barbieri <rodrigo.barbieri@fit-tecnologia.org.br> | Mon Dec 12 09:17:47 2016 -0200 |
tree | c93648f795a501fd61c0b832243126c0e48efdd6 | |
parent | c7bdaa5ea93dd805f11883df918e1deab122005b [diff] |
Fix undefined attribute in scenario test class An attribute check is being performed: "if not self.image_ref" but self.image_ref may not be defined at all, leading to the following error. So, let's define it first so it can be properly evaluated. AttributeError: 'TestShareBasicOpsNFS' object has no attribute 'image_ref' TrivialFix Change-Id: I0c454009b95c5cb0b6fc1304bb0cba1ff87c9fe9