Lines Matching refs:one
15 def one(self, a, b): pass
257 self.assertEqual(call('foo', 'bar', one=3, two=4),
258 ('', ('foo', 'bar'), {'one': 3, 'two': 4}))
383 mock.one(1, 2)
384 mock.one.assert_called_with(1, 2)
386 mock.one.assert_called_with, 3, 4)
387 self.assertRaises(TypeError, mock.one, 1)
579 mock.one(1, 2)
583 expected = [call.one(1, 2), call.two(), call.three(3)]
586 mock.attr.one(1, 2)
591 [call.attr.one(1, 2), call.attr.two(), call.attr.three(3)]
1081 p = patch('%s.SomeClass.one' % __name__, new_callable=PropertyMock)
1084 SomeClass.one
1088 s.one
1092 s.one = 3