Template fixes

Template fixes addressing Alex's comments and other things I put to one side on the first pass.

Includes a fix to autocompilation (which was broken due to a name change)

What to do about the contact link? Shall I take it out until we do this page? Link to some existing page?
Need to fix the sign out link too so will do it with that.


On 4 August 2014 10:51, Jacob Ashdown <
jacob.ashdown@digital.cabinet-office.gov.uk> wrote:

> Whoops. It's not invalid though. It definitely is that test.
>
>
> On 4 August 2014 10:25, Alex Muller <notifications@github.com> wrote:
>
>> In tests/admin/test_main.py:
>>
>> > +        with HTTMock(performance_platform_status_mock):
>> > +            response = self.app.get("/data-sets")
>> > +        assert_that(response.status_code, equal_to(200))
>> > +
>> > +    def test_requires_authentication_redirects_when_no_auth_on_upload_error(
>> > +            self):
>> > +        with HTTMock(performance_platform_status_mock):
>> > +            response = self.app.get("/upload-error")
>> > +        assert_that(response.status_code, equal_to(302))
>> > +        assert_that(response.headers['Location'], ends_with('/'))
>> > +
>> > +    @patch('admin.main.get_context')
>> > +    def test_requires_authentication_continues_when_auth_on_upload_error(
>> > +            self,
>> > +            get_context_mock):
>> > +        print "this test"
>>
>> [image: :point_up:]
>>
>> —
>> Reply to this email directly or view it on GitHub
>> <https://github.com/alphagov/performanceplatform-admin/pull/19/files#r15746781>
>> .
>>
>
>
>
> --
> Jacob Ashdown
> Developer: Performance Platform
> Government Digital Service
>
> Email: *jacob.ashdown@digital.cabinet-office.gov.uk
> <jacob.ashdown@digital.cabinet-office.gov.uk>*
>



-- 
Jacob Ashdown
Developer: Performance Platform
Government Digital Service

Email: *jacob.ashdown@digital.cabinet-office.gov.uk
<jacob.ashdown@digital.cabinet-office.gov.uk>*