https://bugzilla.wikimedia.org/show_bug.cgi?id=72885
Fabian CommodoreFabianus@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|PATCH_TO_REVIEW |RESOLVED Resolution|--- |FIXED
--- Comment #4 from Fabian CommodoreFabianus@gmx.de --- Okay 170592 should've fixed that bug. All attributes required in the dct of the metaclass need to be gathered from the baseclasses which was already done for all except dry which caused two effects which happen due to the condition in tests.aspects:
https://git.wikimedia.org/blob/pywikibot%2Fcore.git/f3bf9705745b00933345e6cc...
1.) nose didn't execute all dry tests which didn't added 'dry = True' explicitly because when the condition is False (which was the case in this conditions) it always set 'net' to True which aren't executed by nose. 2.) There was no error in Travis because this condition is False so the 'DisconnectedSiteMixin' wasn't added which prevented scripts from creating an actual APISite object. That class actually is never added (as of this comment) manually.
So luckily through the first effect it was avoided that any non-dry tests where executed in nose via the second effect.
For the future the role is simple: If an attribute is required in __new__ of the metaclass if must be also read from the baseclasses.