#24982: Split staticfiles tests into multiple files
--------------------------------------+------------------------------------
Reporter: timgraham | Owner: MoritzS
Type: Cleanup/optimization | Status: assigned
Component: contrib.staticfiles | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by MoritzS):
* needs_better_patch: 1 => 0
Comment:
Added PR.
The tests are now structured as follows:
`cases.py`:
{{{
class BaseStaticFilesTestCase
class StaticFilesTestCase
class BaseCollectionTestCase
class CollectionTestCase
class TestDefaults
class TestNoFilesCreated
def hashed_file_path
class TestHashedFiles
class FinderTestCase
}}}
`settings.py`:
{{{
TEST_ROOT
TESTFILES_PATH
TEST_SETTINGS
}}}
`test_finders.py`:
{{{
class TestFileSystemFinder
class TestAppDirectoriesFinder
class TestDefaultStorageFinder
class TestMiscFinder
}}}
`test_management.py`:
{{{
class TestFindStatic
class TestConfiguration
class TestCollection
class TestCollectionClear
class TestCollectionExcludeNoDefaultIgnore
class TestCollectionDryRun
class TestCollectionFilesOverride
class TestCollectionOverwriteWarning
class TestCollectionNonLocalStorage
class TestCollectionLinks
}}}
`test_storage.py`:
{{{
class TestCollectionCachedStorage
class TestCollectionManifestStorage
class TestCollectionSimpleCachedStorage
class CustomStaticFilesStorage
class TestStaticFilePermissions
}}}
`test_templatetags.py`:
{{{
class TestTemplateTag
}}}
`test_views.py`:
{{{
class TestServeStatic
class TestServeDisabled
class TestServeStaticWithDefaultURL
class TestServeStaticWithURLHelper
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24982#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.766ec0a2376268b32296cd801a762d76%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.