'Test Master detail view'

def test_master_detail_view(self):

    client = self.app.test_client()
    self.login(client, DEFAULT_ADMIN_USER, DEFAULT_ADMIN_PASSWORD)
    self.insert_data2()
    rv = client.get('/model1masterview/list/')
    eq_(rv.status_code, 200)
    rv = client.get('/model1masterview/list/1')
    eq_(rv.status_code, 200)
    rv = client.get('/model1masterchartview/list/')
    eq_(rv.status_code, 200)
    rv = client.get('/model1masterchartview/list/1')
    eq_(rv.status_code, 200)
