Page MenuHomePhabricator

super setUp()s and tearDown()s in unit test cases
Closed, ResolvedPublic

Description

Currently some test cases in the tests folder, like tests.http_tests.TestGetAuthenticationConfig, inherit from tests.aspects.TestCase, but do not super the parent's setUp and tearDown.

Event Timeline

@jayvdb

created by your request :) . You can import this into GCI when you get the chance.

Change 328060 had a related patch set uploaded (by Sn1per):
Unit tests should use super setUp and tearDown when appropriate

https://gerrit.wikimedia.org/r/328060

Change 328060 merged by jenkins-bot:
Unit tests should use super setUp and tearDown when appropriate

https://gerrit.wikimedia.org/r/328060