@modify_settings(INSTALLED_APPS={'append': 'staticfiles_tests.apps.test'})
    def test_collectstatic_emulation(self):
        with contextlib.closing(self.urlopen('/static/test/file.txt')) as f:
            self.assertEqual(f.read().rstrip(b'\r\n'), b'In static directory.')
Test that StaticLiveServerTestCase use of staticfiles' serve() allows it
dataset/ETHPy150Open django/django/tests/staticfiles_tests/test_liveserver.py/StaticLiveServerView.test_collectstatic_emulation