def test_not_extracted_json_col_by_regexp_2(self): converter = Converter() default_csv_line = '' line_number = -1 line = '2333 Туту ЖД {"order":{"id":"111111111"},"client":{"email":"*****@*****.**"}} 2019-06-20 10:25:14' result = converter.not_extracted_json_col_by_regexp( default_csv_line, line, line_number) expected = '' self.assertEqual(result, expected, 'incorrect default data')
def test_not_extracted_json_col_by_regexp(self): converter = Converter() default_csv_line = '' line_number = -1 line = 'NULL Туту ЖД NULL 2019-06-20 10:25:14' result = converter.not_extracted_json_col_by_regexp( default_csv_line, line, line_number) expected = '' self.assertEqual(result, expected, 'incorrect default data')