Lines Matching refs:something
40 something = sentinel.Something variable
141 global something
142 original = something
148 something = sentinel.replacement_value
150 self.assertEqual(something, sentinel.replacement_value)
152 something = original
158 self.assertEqual(PTModule.something, sentinel.Something2,
162 self.assertEqual(PTModule.something, sentinel.Something,
168 self.assertEqual(PTModule.something, sentinel.Something2,
173 self.assertEqual(PTModule.something, sentinel.Something,
181 self.assertEqual(PTModule.something, sentinel.Something,
212 something = sentinel.Original variable in PatchTest.test_patchobject_with_default_mock.Test
217 self.assertEqual(mock, Test.something,
233 self.assertEqual(mock2, Test.something,
479 self.assertEqual(PTModule.something, mock_something,
482 self.assertEqual(PTModule.something, sentinel.Something,
492 self.assertEqual(PTModule.something, sentinel.Something,
702 something = Something()
703 self.assertEqual(something.static('f00'), 'f00')
704 something.klass()
705 self.assertEqual(something.static_dict('f00'), 'f00')
706 something.klass_dict()
744 original = something
746 self.assertIs(something, original)
750 self.assertIs(something, mock)
753 self.assertIs(something, original)
764 original = something
766 self.assertIs(something, original)
770 self.assertIs(something, replaced)
773 self.assertIs(something, original)
1795 patch('os.unlink', something).start()