Home
last modified time | relevance | path

Searched refs:smart_set (Results 1 – 3 of 3) sorted by relevance

/external/python/pyfakefs/pyfakefs/tests/
Dmox3_stubout_test.py100 self.stubber.smart_set(os.path, 'exists', lambda x: True)
108 self.stubber.smart_set(datetime, 'date', GroundhogDate)
118 self.stubber.smart_set(mox3_stubout_example, 'math', NoPanicMath)
129 self.stubber.smart_set(os, 'path', ExistingPath)
137 self.assertRaises(AttributeError, self.stubber.smart_set,
139 self.assertRaises(AttributeError, self.stubber.smart_set,
141 self.assertRaises(AttributeError, self.stubber.smart_set,
/external/python/pyfakefs/pyfakefs/
Dmox3_stubout.py54 def smart_set(self, obj, attr_name, new_attr): member in StubOutForTesting
Dfake_filesystem_unittest.py609 self._stubs.smart_set(
616 self._stubs.smart_set(module, name, attr)