def test_strip_nochange(self): self.assertEqual(remove_control_characters(self.given_combined.decode('utf-8')).encode('utf-8'), self.expected_combined)
def test_strip_nochange(self): self.assertEqual( remove_control_characters( self.given_combined.decode('utf-8')).encode('utf-8'), self.expected_combined)
def test_strip_chn(self): self.assertEqual(remove_control_characters(self.given_chn.decode('utf-8')).encode('utf-8'), self.expected_chn)
def test_strip_chn(self): self.assertEqual( remove_control_characters( self.given_chn.decode('utf-8')).encode('utf-8'), self.expected_chn)