Lines Matching refs:foo_name

60 foo_name = '%s.Foo' % __name__  variable
732 patcher = patch(foo_name, 'bar', 3)
738 patcher = patch(foo_name, 'bar', 3)
843 patcher = patch(foo_name, **kwargs)
931 test = patch(foo_name, autospec=True)(function)
1003 patcher = patch(foo_name, autospec=Bar)
1014 patcher = patch(foo_name, autospec=True)
1024 patcher = patch(foo_name, autospec=True)
1051 patcher = patch(foo_name, new_callable=NonCallableMagicMock)
1082 patcher = patch(foo_name, new_callable=Bar, arg1=1, arg2=2)
1097 patcher = patch(foo_name, new_callable=Bar, spec=Bar)
1104 patcher = patch(foo_name, new_callable=Bar, spec_set=Bar)
1113 non_existent_attr = '%s.weeeee' % foo_name
1128 ValueError, patch, foo_name, new=object(), new_callable=MagicMock
1138 ValueError, patch, foo_name, new_callable=MagicMock,
1157 p = patch(foo_name, new_callable=Klass, **kwargs)
1171 p = patch(foo_name, new_callable=NotAMock, spec=True)
1197 SomeTest = patch(foo_name, new_callable=SomeClass)(SomeTest)
1208 patcher1 = patch.multiple(foo_name, f=1, g=2)
1225 @patch.multiple(foo_name, f=3, g=4)
1235 self.assertRaises(ValueError, patch.multiple, foo_name)
1244 @patch.multiple(foo_name, f=DEFAULT, g=3, foo=DEFAULT)
1284 @patch.multiple(foo_name, f=DEFAULT)
1285 @patch.multiple(foo_name, foo=DEFAULT)
1286 @patch(foo_name + '.g')
1290 @patch.multiple(foo_name, f=DEFAULT)
1291 @patch(foo_name + '.g')
1292 @patch.multiple(foo_name, foo=DEFAULT)
1296 @patch(foo_name + '.g')
1297 @patch.multiple(foo_name, f=DEFAULT)
1298 @patch.multiple(foo_name, foo=DEFAULT)
1327 patcher = patch.multiple(foo_name, f=DEFAULT, g=3, foo=DEFAULT)
1369 foo_name, f=DEFAULT, g=3, foo=DEFAULT