Commit e5c91c86 authored by Michael Foord's avatar Michael Foord

And another one... mock import fix.

parent 4be9172d
......@@ -1535,7 +1535,7 @@ class PatchTest(unittest.TestCase):
self.assertEqual(foo.fish, 'tasty')
@patch('mock.patch.TEST_PREFIX', 'foo')
@patch('unittest.mock.patch.TEST_PREFIX', 'foo')
def test_patch_test_prefix(self):
class Foo(object):
thing = 'original'
......@@ -1558,7 +1558,7 @@ class PatchTest(unittest.TestCase):
self.assertEqual(foo.test_two(), 'original')
@patch('mock.patch.TEST_PREFIX', 'bar')
@patch('unittest.mock.patch.TEST_PREFIX', 'bar')
def test_patch_dict_test_prefix(self):
class Foo(object):
def bar_one(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment