Debian Codegraph @

django/contrib/staticfiles/testing.py

raw
1 from django.contrib.staticfiles.handlers import StaticFilesHandler
2 from django.test import LiveServerTestCase
3
4
5 class StaticLiveServerTestCase(LiveServerTestCase):
6 """
7 Extend django.test.LiveServerTestCase to transparently overlay at test
8 execution-time the assets provided by the staticfiles app finders. This
9 means you don't need to run collectstatic before or as a part of your tests
10 setup.
11 """
12
13 static_handler = StaticFilesHandler