MCPcopy Create free account
hub / github.com/Azure/azure-storage-python / test_create_file

Method test_create_file

tests/file/test_file.py:188–196  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

186
187 @record
188 def test_create_file(self):
189 # Arrange
190 file_name = self._get_file_reference()
191
192 # Act
193 self.fs.create_file(self.share_name, None, file_name, 1024)
194
195 # Assert
196 self.fs.exists(self.share_name, None, file_name)
197
198 @record
199 def test_create_file_with_metadata(self):

Callers

nothing calls this directly

Calls 3

_get_file_referenceMethod · 0.95
create_fileMethod · 0.45
existsMethod · 0.45

Tested by

no test coverage detected