def test_empty_get_one_column_from_json(self): result = Converter.get_one_column_from_json(self.str_for_converter, "notexist.col") expected = '' self.assertEqual(result, expected, 'incorrect default data')
def test_get_one_column_from_json(self): result = Converter.get_one_column_from_json(self.str_for_converter, "client.phone") expected = "923143****" self.assertEqual(result, expected, 'incorrect default data')