def test_home_html(testapp):
    res = testapp.get('/', status=200)
    assert res.body.startswith('<!DOCTYPE html>')


## these could all be tested with ?format=json as well.
def test_antibodies_html(testapp):
    res = testapp.get('/antibodies/', status=200)
    assert res.body.startswith('<!DOCTYPE html>')


def test_targets_html(testapp):
    res = testapp.get('/targets/', status=200)
    assert res.body.startswith('<!DOCTYPE html>')


def test_organisms_html(testapp):
    res = testapp.get('/organisms/', status=200)
    assert res.body.startswith('<!DOCTYPE html>')


def test_sources_html(testapp):
    res = testapp.get('/sources/', status=200)
    assert res.body.startswith('<!DOCTYPE html>')


def test_validations_html(testapp):
    res = testapp.get('/validations/', status=200)
    assert res.body.startswith('<!DOCTYPE html>')


def test_antibody_lots_html(testapp):
    res = testapp.get('/antibody-lots/', status=200)
    assert res.body.startswith('<!DOCTYPE html>')


def test_approvals_html(testapp):
    res = testapp.get('/approvals/', status=200)
    assert res.body.startswith('<!DOCTYPE html>')


def test_target_uuid_html(testapp):
    res = testapp.get('/targets/dcd60c9f-7f2e-4d75-8276-9c9a9c6c7669/', status=200)
    assert res.body.startswith('<!DOCTYPE html>')


def test_antibody_uuid_html(testapp):
    res = testapp.get('/antibodies/c4da2e0c-149f-4aee-ac21-8690dfdadb1f/', status=200)
    assert res.body.startswith('<!DOCTYPE html>')


def _test_antibody_approval_creation(testapp):
    from urlparse import urlparse
    new_antibody = {'foo': 'bar'}
    res = testapp.post_json('/antibodies/', new_antibody, status=201)
    assert res.location
    assert res.json['_links']['profile'] == {'href': '/profiles/result'}
    assert res.json['_links']['items'] == [{'href': urlparse(res.location).path}]
    res = testapp.get(res.location, headers={'Accept': 'application/json'}, status=200)
    assert res.json['_links']['profile'] == {'href': '/profiles/antibody_approval'}
    data = dict(res.json)
    del data['_links']
    assert data == new_antibody
    res = testapp.get('/antibodies/', headers={'Accept': 'application/json'}, status=200)
    assert len(res.json['_embedded']['items']) == 1


def test_sample_data(testapp):
    from .sample_data import load_all
    load_all(testapp)
    res = testapp.get('/antibodies/', headers={'Accept': 'application/json'}, status=200)
    assert len(res.json['_embedded']['items']) == 1


def test_load_workbook(testapp):
    from ..loadxl import load_all
    from pkg_resources import resource_filename
    load_all(testapp, resource_filename('encoded', 'tests/data/AntibodySubmissionsENCODE3.xlsx'))

@@ -989,492 +989,8 @@
 )%0A%0A%0A
-def test_approvals_html(testapp):%0A    res = testapp.get('/approvals/', status=200)%0A    assert res.body.startswith('%3C!DOCTYPE html%3E')%0A%0A%0Adef test_target_uuid_html(testapp):%0A    res = testapp.get('/targets/dcd60c9f-7f2e-4d75-8276-9c9a9c6c7669/', status=200)%0A    assert res.body.startswith('%3C!DOCTYPE html%3E')%0A%0A%0Adef test_antibody_uuid_html(testapp):%0A    res = testapp.get('/antibodies/c4da2e0c-149f-4aee-ac21-8690dfdadb1f/', status=200)%0A    assert res.body.startswith('%3C!DOCTYPE html%3E')%0A%0A%0A
 def 

Remove unneeded tests.