** Project changed: unity8 => unity8 (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity8 in Ubuntu.
https://bugs.launchpad.net/bugs/1200453
Title:
Autopiot tests skip tests using *magic*. Don't do that.
Status in unity8 package in Ubuntu:
Fix Released
Bug description:
Please do not use *magic* in your autopilot tests. Especially when
it's not obvious. For example, this is a really really bad idea:
def __getattribute__(self, attr_name):
attr = object.__getattribute__(self, attr_name);
if attr_name.startswith("test_"):
try:
if self.form_factor() in attr.blacklist:
return self.skipWrapper
except:
pass
return attr
If you want to skip a test, autopilot provides a nice, explicit, and most
importantly - obvious way to do it:
http://unity.ubuntu.com/autopilot/api/platform.html#skipping-tests-
based-on-platform
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1200453/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp