stop mocking removed function in tests

This commit is contained in:
Mike McLean 2016-05-13 19:21:59 -04:00
parent 6f08b8d064
commit 9b4ccd18ec

View file

@ -9,8 +9,7 @@ import koji
class KrbVTestCase(unittest.TestCase):
@mock.patch('koji.krbV', new=None)
@mock.patch('koji.ClientSession._setup_connection')
def test_krbv_disabled(self, krbV):
def test_krbv_disabled(self):
""" Test that when krbV is absent, we behave rationally. """
self.assertEquals(koji.krbV, None)
session = koji.ClientSession('whatever')