Lines Matching refs:something
206 mock(sentinel.Something, something=sentinel.SomethingElse)
207 something = mock.something
208 mock.something()
236 self.assertEqual(mock._mock_children, {'something': something},
238 self.assertEqual(mock.something, something,
240 self.assertFalse(mock.something.called, "child not reset")
436 something = mock.something
437 self.assertTrue(is_instance(something, Mock), "attribute isn't a mock")
438 self.assertEqual(mock.something, something,
443 mock.something.return_value = 3
445 self.assertEqual(mock.something(), 3, "method returned wrong value")
446 self.assertTrue(mock.something.called,
452 something = mock.something
454 self.assertEqual(something._mock_name, "something",
456 self.assertEqual(something._mock_parent, mock,
462 mock.something(3, fish=None)
463 mock.something_else.something(6, cake=sentinel.Cake)
477 mock.something()
482 mock.something('different')
488 mock.something(x=1)
493 mock.something('different', some='more')
505 mock.something