def METHOD_NAME(self):
    '''
    Test can_view with acceptable formats when datastore_active is False
    (DataProxy in use).
    '''
    formats = ['CSV', 'XLS', 'TSV', 'csv', 'xls', 'tsv']
    for resource_format in formats:
        data_dict = {'resource': {'datastore_active': False,
                                  'format': resource_format}}
        assert self.p.can_view(data_dict)