'Test Various Chart views'

def test_charts_view(self):

    client = self.app.test_client()
    self.login(client, DEFAULT_ADMIN_USER, DEFAULT_ADMIN_PASSWORD)
    self.insert_data2()
    log.info('CHART    TEST')
    rv = client.get('/model2chartview/chart/')
    eq_(rv.status_code, 200)
    rv = client.get('/model2groupbychartview/chart/')
    eq_(rv.status_code, 200)
    rv = client.get('/model2directbychartview/chart/')
    eq_(rv.status_code, 200)
    rv = client.get('/model2timechartview/chart/')
    eq_(rv.status_code, 200)
