def test_boolean(self): self.assertEquals(types.boolean("FaLSE"), False)
def test_boolean_false(self): self.assertEquals(types.boolean("False"), False)
def test_boolean_true(self): self.assertEquals(types.boolean("true"), True)
def test_boolean(self): assert_equal(types.boolean("FaLSE"), False)
def test_bad_boolean(self): assert_raises(ValueError, lambda: types.boolean("blah"))
def test_boolean_true(self): assert_equal(types.boolean("true"), True)
def test_boolean_upper_case(self): assert_equal(types.boolean("FaLSE"), False)
def test_boolean_false(self): assert_equal(types.boolean("False"), False)