MCPcopy
hub / github.com/django/django / test_content_file_default_name

Method test_content_file_default_name

tests/files/tests.py:241–242  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

239
240class ContentFileTestCase(unittest.TestCase):
241 def test_content_file_default_name(self):
242 self.assertIsNone(ContentFile(b"content").name)
243
244 def test_content_file_custom_name(self):
245 """

Callers

nothing calls this directly

Calls 1

ContentFileClass · 0.90

Tested by

no test coverage detected