def test_wrong_data_format(self): self.assertRaises(TypeError, lambda: makeschema([], 'name', 'description'))
def test_no_name(self): self.assertRaises(ValueError, lambda: makeschema({}, None, 'description'))
def test_name_no_str(self): self.assertRaises(TypeError, lambda: makeschema({}, 4, 'description'))
def test_wrong_title(self): self.assertRaises(TypeError, lambda: makeschema({}, 'name', 4))
def test_wrong_data_format(self): self.assertRaises(TypeError, lambda : makeschema([], 'name', 'description'))
def test_name_no_str(self): self.assertRaises(TypeError, lambda : makeschema({}, 4, 'description'))
def test_no_name(self): self.assertRaises(ValueError, lambda : makeschema({}, None, 'description'))
def test_wrong_title(self): self.assertRaises(TypeError, lambda : makeschema({}, 'name', 4))