MCPcopy
hub / github.com/django/django / setUp

Method setUp

tests/file_storage/tests.py:1012–1016  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1010
1011class FieldCallableFileStorageTests(SimpleTestCase):
1012 def setUp(self):
1013 self.temp_storage_location = tempfile.mkdtemp(
1014 suffix="filefield_callable_storage"
1015 )
1016 self.addCleanup(shutil.rmtree, self.temp_storage_location)
1017
1018 def test_callable_base_class_error_raises(self):
1019 class NotStorage:

Callers

nothing calls this directly

Calls 1

mkdtempMethod · 0.45

Tested by

no test coverage detected