fix unittest ref

This commit is contained in:
Mike McLean 2018-06-07 15:18:30 -04:00
parent 3801e7504a
commit 118f796a1f

View file

@ -7,7 +7,7 @@ except ImportError:
import koji
import kojihub
class TestPkglistBlock(unittest2.TestCase):
class TestPkglistBlock(unittest.TestCase):
def setUp(self):
self.context = mock.patch('kojihub.context').start()
# It seems MagicMock will not automatically handle attributes that