def test_multiple_xpath_matches(self): with self.assertRaises(ValueError): self.registry('ir.ui.view').replace_arch_section( self.cr, self.uid, self.view_id, '/div/div/h3', h.H6("Lol nope"))
def test_multiple_xpath_matches(self): with self.assertRaises(ValueError): self.view_id.replace_arch_section('/div/div/h3', h.H6("Lol nope"))