title: Django Selenium liveserver doesn't get started when running tests
body: <p>I am building a Django website and I am using Selenium to test my pages. My problem is that when I run the tests, the browser is launched, but no page is loaded or even attempted to be loaded. It just opens blank and the tests hang. It seems to me that the liveserver doesn't get started. I am running on Apache2 and WSGI, but my understanding is that the Selenium tests are run by the the Django's built-in web server. Any idea what could be wrong? The relevant files are below:</p>
  
  <p>tests.py:</p>
  
  <pre><code>from selenium.webdriver.firefox.webdriver import WebDriver
  
  class MyProjectLiveServerTestCase(LiveServerTestCase):
  
      @classmethod
      def initSeleniumDriver(cls):
          cls.driver = WebDriver()
  
      @classmethod
      def closeSeleniumDriver(cls):
          cls.driver.quit()
  
      def testIndexShouldLoad(self):
          self.driver.get('%s%s' % (self.live_server_url, '/nd5/mybook/'))
          self.assertEqual(len(self.driver.find_elements(
              By.CSS_SELECTOR,
              'span#copyright'
          )), 1)
  </code></pre>
  
  <p>settings.py:</p>
  
  <pre><code># Test database runs on SQLite
  DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.sqlite3',
          'NAME': os.path.join(os.path.realpath(os.path.dirname(__file__)), '..', 'myprojectdb'),
      }
  }
  
  TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
  </code></pre>
  
  <p>I am using django-nose, so I execute the tests this way:</p>
  
  <pre><code>python manage.py test --exe
  </code></pre>
  
  <p>Please, let me know if you need to see any other parts of the code.</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>Here is update: I found out that the reason Firefox doesn't load the page is because my version of Firefox is newer than the latest version supported by Selenium. So I switched to Chrome and now the URL in the browser is requested. However, the page isn't found (404 error). This must mean that the liveserver is still not running. My tests don't turn on the liveserver when they get run. Any idea why? The port isn't blocked - I checked.</p>