'Test that request.site_theme returns theme defined by DEFAULT_SITE_THEME setting
when there is no theme associated with the current site.'

@override_settings(DEFAULT_SITE_THEME=TEST_THEME_NAME)
def test_default_site_theme(self):

    request = self.create_mock_get_request()
    self.assertEqual(self.site_theme_middleware.process_request(request), None)
    self.assertIsNotNone(request.site_theme)
    self.assertEqual(request.site_theme.theme_dir_name, TEST_THEME_NAME)
