You have been subscribed to a public bug:
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
** Affects: unity8 (Ubuntu)
Importance: Undecided
Assignee: Christopher Lee (veebers)
Status: Fix Released
** Tags: autopilot
--
Autopiot tests skip tests using *magic*. Don't do that.
https://bugs.launchpad.net/bugs/1200453
You received this bug notification because you are a member of Ubuntu Touch
seeded packages, which is subscribed to unity8 in Ubuntu.
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp