Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/
Dfake_filesystem_vs_real_test.py357 def assertFileHandleBehaviorsMatch(self, path, mode, data): member in FakeFilesystemVsRealTest
589 self.assertFileHandleBehaviorsMatch('read', 'r', 'other contents')
590 self.assertFileHandleBehaviorsMatch('write', 'w', 'other contents')
591 self.assertFileHandleBehaviorsMatch('append', 'a', 'other contents')
594 self.assertFileHandleBehaviorsMatch('readplus', 'r+', 'other contents')
595 self.assertFileHandleBehaviorsMatch('writeplus', 'w+', 'other contents')
599 self.assertFileHandleBehaviorsMatch('binaryread', 'rb', b'other contents')
600 self.assertFileHandleBehaviorsMatch('binarywrite', 'wb', b'other contents')
601 self.assertFileHandleBehaviorsMatch('binaryappend', 'ab', b'other contents')
602 self.assertFileHandleBehaviorsMatch('read', 'rb', 'other contents')
[all …]