stop mocking removed function in tests
This commit is contained in:
parent
6f08b8d064
commit
9b4ccd18ec
1 changed files with 1 additions and 2 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue