old_contents: from selenium import webdriver
  import requests
  from bs4 import BeautifulSoup
  from django.test import LiveServerTestCase
  from django.template import Context, Template
  from django.template.base import VariableNode
  
  from offlinecdn.conf import settings
  
  class StaticTest(LiveServerTestCase):
      browser = None
      host = "http://localhost:8081"
  
      def setUp(self):
          self.browser = webdriver.Firefox()
  
      def test_server_running(self):
          r = requests.get(self.host)
          self.assertTrue(r.ok)
  
      def test_functional(self):
          self.browser.get(self.host)
          dom = self.browser.page_source
          soup = BeautifulSoup(dom)
          text = soup.find("p").text
          self.assertNotIn("no", text)
  
      def tearDown(self):
          self.browser.close()
  
new_contents: from selenium import webdriver
  import requests
  from bs4 import BeautifulSoup
  from django.test import LiveServerTestCase
  from django.template import Context, Template
  from django.template.base import VariableNode
  
  from offlinecdn.conf import settings
  
  class StaticTest(LiveServerTestCase):
      browser = None
      host = "http://localhost:8081"
  
      def setUp(self):
          self.browser = webdriver.Firefox()
          settings.OFFLINECDN_MODE = True
  
      def test_server_running(self):
          r = requests.get(self.host)
          self.assertTrue(r.ok)
  
      def test_functional(self):
          self.browser.get(self.host)
          dom = self.browser.page_source
          soup = BeautifulSoup(dom)
          text = soup.find("p").text
          self.assertNotIn("no", text)
  
      def tearDown(self):
          self.browser.close()
  
subject: test currently fails, because the settings are broke.