Beispiel #1
0
 def test_strip_from_subject(self) -> None:
     subject_list = ujson.loads(
         self.fixture_data('subjects.json', type='email'))
     for subject in subject_list:
         stripped = strip_from_subject(subject['original_subject'])
         self.assertEqual(stripped, subject['stripped_subject'])
Beispiel #2
0
 def test_strip_from_subject(self) -> None:
     subject_list = ujson.loads(self.fixture_data('subjects.json', type='email'))
     for subject in subject_list:
         stripped = strip_from_subject(subject['original_subject'])
         self.assertEqual(stripped, subject['stripped_subject'])