Browse Source

Fixed build

Rafał Pitoń 11 years ago
parent
commit
737998f5f4
1 changed files with 2 additions and 0 deletions
  1. 2 0
      misago/core/tests/test_context_processors.py

+ 2 - 0
misago/core/tests/test_context_processors.py

@@ -23,6 +23,7 @@ class SiteAddressTests(TestCase):
             {
                 'SITE_ADDRESS': 'http://somewhere.com',
                 'SITE_HOST': 'somewhere.com',
+                'SITE_PROTOCOL': 'http',
             })
 
     def test_site_address_for_https(self):
@@ -33,4 +34,5 @@ class SiteAddressTests(TestCase):
             {
                 'SITE_ADDRESS': 'https://somewhere.com',
                 'SITE_HOST': 'somewhere.com',
+                'SITE_PROTOCOL': 'https',
             })