"use strict";
odoo.define_section('web_duplicate_visibility',
['web.data', 'web.FormView'],
function(test, mock){
function assertDuplicate(data, FormView, form_tag, visible){
mock.add('test.model:read', function () {
return [{ id: 1, a: 'foo', b: 'bar', c: 'baz' }];
});
mock.add('test.model:fields_view_get', function () {
return {
type: 'form',
fields: {
a: {type: 'char', string: "A"},
b: {type: 'char', string: "B"},
c: {type: 'char', string: "C"}
},
arch: form_tag +
'