Esempio n. 1
0
 def test_equal_5(self):
     self.assertEqual(acronym_buster('BRB I am OOO'),
                      ('BRB is an acronym. I do not like acronyms. '
                       'Please remove them from your email.'))
Esempio n. 2
0
 def test_equal_27(self):
     self.assertEqual(
         acronym_buster('axpdfVlXxn. ct PkAxzH. otUvnjxHdm. WAH EOD.'),
         ('AxpdfVlXxn. Ct PkAxzH. OtUvnjxHdm. '
          'Work at home the end of the day.'))
Esempio n. 3
0
 def test_equal_3(self):
     self.assertEqual(acronym_buster('Going to WAH today. NRN. OOO'),
                      ('Going to work at home today. No reply necessary. '
                       'Out of office'))
Esempio n. 4
0
 def test_equal_22(self):
     self.assertEqual(acronym_buster('HTTP'),
                      ('HTTP is an acronym. I do not like acronyms. '
                       'Please remove them from your email.'))
Esempio n. 5
0
 def test_equal_25(self):
     self.assertEqual(acronym_buster('I sent you a RFP yesterday.'),
                      ('RFP is an acronym. I do not like acronyms. '
                       'Please remove them from your email.'))
Esempio n. 6
0
 def test_equal_11(self):
     self.assertEqual(acronym_buster('WAH'), 'Work at home')
Esempio n. 7
0
 def test_equal_1(self):
     self.assertEqual(
         acronym_buster('BRB I need to go into a KPI meeting before EOD'),
         ('BRB is an acronym. I do not like acronyms. '
          'Please remove them from your email.'))
 def test_equal_4(self):
     self.assertEqual(
         acronym_buster("We're looking at SMB on SM DMs today"),
         ("SMB is an acronym. I do not like acronyms. " "Please remove them from your email."),
     )
 def test_equal_5(self):
     self.assertEqual(
         acronym_buster("BRB I am OOO"),
         ("BRB is an acronym. I do not like acronyms. " "Please remove them from your email."),
     )
Esempio n. 10
0
 def test_equal_27(self):
     self.assertEqual(
         acronym_buster("axpdfVlXxn. ct PkAxzH. otUvnjxHdm. WAH EOD."),
         ("AxpdfVlXxn. Ct PkAxzH. OtUvnjxHdm. " "Work at home the end of the day."),
     )
Esempio n. 11
0
 def test_equal_3(self):
     self.assertEqual(
         acronym_buster("Going to WAH today. NRN. OOO"),
         ("Going to work at home today. No reply necessary. " "Out of office"),
     )
Esempio n. 12
0
 def test_equal_2(self):
     self.assertEqual(
         acronym_buster("I am IAM so will be OOO until EOD"),
         ("I am in a meeting so will be out of office until " "the end of the day"),
     )
Esempio n. 13
0
 def test_equal_26(self):
     self.assertEqual(acronym_buster("My SM account needs some work."), "My SM account needs some work.")
Esempio n. 14
0
 def test_equal_25(self):
     self.assertEqual(
         acronym_buster("I sent you a RFP yesterday."),
         ("RFP is an acronym. I do not like acronyms. " "Please remove them from your email."),
     )
Esempio n. 15
0
 def test_equal_7(self):
     self.assertEqual(acronym_buster('KPI'), 'Key performance indicators')
Esempio n. 16
0
 def test_equal_6(self):
     self.assertEqual(acronym_buster("OOO"), "Out of office")
Esempio n. 17
0
 def test_equal_9(self):
     self.assertEqual(acronym_buster('TBD'), 'To be decided')
Esempio n. 18
0
 def test_equal_7(self):
     self.assertEqual(acronym_buster("KPI"), "Key performance indicators")
Esempio n. 19
0
 def test_equal_13(self):
     self.assertEqual(acronym_buster('NRN'), 'No reply necessary')
Esempio n. 20
0
 def test_equal_8(self):
     self.assertEqual(acronym_buster("EOD"), "The end of the day")
Esempio n. 21
0
 def test_equal_20(self):
     self.assertEqual(acronym_buster('FA'), 'FA')
Esempio n. 22
0
 def test_equal_9(self):
     self.assertEqual(acronym_buster("TBD"), "To be decided")
Esempio n. 23
0
 def test_equal_24(self):
     self.assertEqual(
         acronym_buster("The advert needs a CTA. NRN before EOD."),
         ("The advert needs a call to action. " "No reply necessary before the end of the day."),
     )
Esempio n. 24
0
 def test_equal_10(self):
     self.assertEqual(acronym_buster("TBD by EOD"), "To be decided by the end of the day")
Esempio n. 25
0
 def test_equal_26(self):
     self.assertEqual(acronym_buster('My SM account needs some work.'),
                      'My SM account needs some work.')
Esempio n. 26
0
 def test_equal_11(self):
     self.assertEqual(acronym_buster("WAH"), "Work at home")
Esempio n. 27
0
 def test_equal_2(self):
     self.assertEqual(acronym_buster('I am IAM so will be OOO until EOD'),
                      ('I am in a meeting so will be out of office until '
                       'the end of the day'))
Esempio n. 28
0
 def test_equal_12(self):
     self.assertEqual(acronym_buster("IAM"), "In a meeting")
Esempio n. 29
0
 def test_equal_4(self):
     self.assertEqual(
         acronym_buster("We're looking at SMB on SM DMs today"),
         ('SMB is an acronym. I do not like acronyms. '
          'Please remove them from your email.'))
Esempio n. 30
0
 def test_equal_13(self):
     self.assertEqual(acronym_buster("NRN"), "No reply necessary")
Esempio n. 31
0
 def test_equal_6(self):
     self.assertEqual(acronym_buster('OOO'), 'Out of office')
Esempio n. 32
0
 def test_equal_1(self):
     self.assertEqual(
         acronym_buster("BRB I need to go into a KPI meeting before EOD"),
         ("BRB is an acronym. I do not like acronyms. " "Please remove them from your email."),
     )
Esempio n. 33
0
 def test_equal_8(self):
     self.assertEqual(acronym_buster('EOD'), 'The end of the day')
Esempio n. 34
0
 def test_equal_14(self):
     self.assertEqual(acronym_buster("CTA"), "Call to action")
Esempio n. 35
0
 def test_equal_10(self):
     self.assertEqual(acronym_buster('TBD by EOD'),
                      'To be decided by the end of the day')
Esempio n. 36
0
 def test_equal_19(self):
     self.assertEqual(acronym_buster("PB"), "PB")
Esempio n. 37
0
 def test_equal_12(self):
     self.assertEqual(acronym_buster('IAM'), 'In a meeting')
Esempio n. 38
0
 def test_equal_20(self):
     self.assertEqual(acronym_buster("FA"), "FA")
Esempio n. 39
0
 def test_equal_14(self):
     self.assertEqual(acronym_buster('CTA'), 'Call to action')
Esempio n. 40
0
 def test_equal_21(self):
     self.assertEqual(acronym_buster("SWOT."), "Strengths, weaknesses, opportunities and threats.")
Esempio n. 41
0
 def test_equal_19(self):
     self.assertEqual(acronym_buster('PB'), 'PB')
Esempio n. 42
0
 def test_equal_22(self):
     self.assertEqual(
         acronym_buster("HTTP"),
         ("HTTP is an acronym. I do not like acronyms. " "Please remove them from your email."),
     )
Esempio n. 43
0
 def test_equal_21(self):
     self.assertEqual(acronym_buster('SWOT.'),
                      'Strengths, weaknesses, opportunities and threats.')
Esempio n. 44
0
 def test_equal_24(self):
     self.assertEqual(
         acronym_buster('The advert needs a CTA. NRN before EOD.'),
         ('The advert needs a call to action. '
          'No reply necessary before the end of the day.'))
Esempio n. 45
0
 def test_equal_23(self):
     self.assertEqual(acronym_buster('Please WAH today. KPI on track'),
                      ('Please work at home today. '
                       'Key performance indicators on track'))
Esempio n. 46
0
 def test_equal_23(self):
     self.assertEqual(
         acronym_buster("Please WAH today. KPI on track"),
         ("Please work at home today. " "Key performance indicators on track"),
     )