|
import json
|
|
from tests.lib import PhotolibTest
|
|
|
|
|
|
class PhotolibTestMisc(PhotolibTest):
|
|
def test_index(self):
|
|
"""
|
|
Tests that the '/' url returns a redirect to '/feed'
|
|
"""
|
|
self.getPage("/")
|
|
self.assertStatus('302 Found')
|
|
self.assertHeaderEndsWith('Location', '/feed')
|