Merge "Do not require requests-kerberos for tests"
This commit is contained in:
commit
cd440ab4ac
@ -4,7 +4,6 @@ mock<1.1
|
|||||||
unittest2
|
unittest2
|
||||||
python-subunit
|
python-subunit
|
||||||
requests-mock>=1.4.0
|
requests-mock>=1.4.0
|
||||||
requests-kerberos
|
|
||||||
sphinx>=1.2,<1.3.0
|
sphinx>=1.2,<1.3.0
|
||||||
stestr>=2.0.0
|
stestr>=2.0.0
|
||||||
testscenarios
|
testscenarios
|
||||||
|
@ -24,8 +24,6 @@ class JenkinsTestBase(TestWithScenarios, unittest.TestCase):
|
|||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
super(JenkinsTestBase, self).setUp()
|
super(JenkinsTestBase, self).setUp()
|
||||||
# TODO(darragh) would be useful if this could be mocked
|
|
||||||
jenkins.requests_kerberos = None
|
|
||||||
|
|
||||||
self.j = jenkins.Jenkins(self.base_url, 'test', 'test')
|
self.j = jenkins.Jenkins(self.base_url, 'test', 'test')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user