def test_TSO_inclEntities(self):

        tso = self.getCopy()
        correct_values = [ True, False ]
        for value in correct_values:
            tso.set_include_entities(value)
            cor = '%s&include_entities=%s' % (self.__tso.create_search_url(), bool(value))
            self.assertEqualQuery(tso.create_search_url(), cor)

        # wrong values
        wrong_values = [ '', 3.0, 3, -1, 2, [], {} ]
        for value in wrong_values:
            try:
                tso.set_include_entities(value)
                self.assertTrue(False, "Not raising exception for %s" % value)
            except TwitterSearchException as e:
                    self.assertEqual(e.code, 1008)
Rendering line break like ``<br>``.
dataset/ETHPy150Open ckoepp/TwitterSearch/tests/test_tso.py/TwitterSearchOrderTest.test_TSO_inclEntities--crossover with--dataset/ETHPy150Open neuroo/equip/examples/sample-test-program/test_module/mistune.py/Renderer.linebreak