Ejemplo 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.'))
Ejemplo 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.'))
Ejemplo 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'))
Ejemplo 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.'))
Ejemplo 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.'))
Ejemplo n.º 6
0
 def test_equal_11(self):
     self.assertEqual(acronym_buster('WAH'), 'Work at home')
Ejemplo 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.'))
Ejemplo n.º 8
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."),
     )
Ejemplo n.º 9
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."),
     )
Ejemplo 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."),
     )
Ejemplo 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"),
     )
Ejemplo 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"),
     )
Ejemplo n.º 13
0
 def test_equal_26(self):
     self.assertEqual(acronym_buster("My SM account needs some work."), "My SM account needs some work.")
Ejemplo 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."),
     )
Ejemplo n.º 15
0
 def test_equal_7(self):
     self.assertEqual(acronym_buster('KPI'), 'Key performance indicators')
Ejemplo n.º 16
0
 def test_equal_6(self):
     self.assertEqual(acronym_buster("OOO"), "Out of office")
Ejemplo n.º 17
0
 def test_equal_9(self):
     self.assertEqual(acronym_buster('TBD'), 'To be decided')
Ejemplo n.º 18
0
 def test_equal_7(self):
     self.assertEqual(acronym_buster("KPI"), "Key performance indicators")
Ejemplo n.º 19
0
 def test_equal_13(self):
     self.assertEqual(acronym_buster('NRN'), 'No reply necessary')
Ejemplo n.º 20
0
 def test_equal_8(self):
     self.assertEqual(acronym_buster("EOD"), "The end of the day")
Ejemplo n.º 21
0
 def test_equal_20(self):
     self.assertEqual(acronym_buster('FA'), 'FA')
Ejemplo n.º 22
0
 def test_equal_9(self):
     self.assertEqual(acronym_buster("TBD"), "To be decided")
Ejemplo 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."),
     )
Ejemplo n.º 24
0
 def test_equal_10(self):
     self.assertEqual(acronym_buster("TBD by EOD"), "To be decided by the end of the day")
Ejemplo n.º 25
0
 def test_equal_26(self):
     self.assertEqual(acronym_buster('My SM account needs some work.'),
                      'My SM account needs some work.')
Ejemplo n.º 26
0
 def test_equal_11(self):
     self.assertEqual(acronym_buster("WAH"), "Work at home")
Ejemplo 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'))
Ejemplo n.º 28
0
 def test_equal_12(self):
     self.assertEqual(acronym_buster("IAM"), "In a meeting")
Ejemplo 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.'))
Ejemplo n.º 30
0
 def test_equal_13(self):
     self.assertEqual(acronym_buster("NRN"), "No reply necessary")
Ejemplo n.º 31
0
 def test_equal_6(self):
     self.assertEqual(acronym_buster('OOO'), 'Out of office')
Ejemplo 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."),
     )
Ejemplo n.º 33
0
 def test_equal_8(self):
     self.assertEqual(acronym_buster('EOD'), 'The end of the day')
Ejemplo n.º 34
0
 def test_equal_14(self):
     self.assertEqual(acronym_buster("CTA"), "Call to action")
Ejemplo n.º 35
0
 def test_equal_10(self):
     self.assertEqual(acronym_buster('TBD by EOD'),
                      'To be decided by the end of the day')
Ejemplo n.º 36
0
 def test_equal_19(self):
     self.assertEqual(acronym_buster("PB"), "PB")
Ejemplo n.º 37
0
 def test_equal_12(self):
     self.assertEqual(acronym_buster('IAM'), 'In a meeting')
Ejemplo n.º 38
0
 def test_equal_20(self):
     self.assertEqual(acronym_buster("FA"), "FA")
Ejemplo n.º 39
0
 def test_equal_14(self):
     self.assertEqual(acronym_buster('CTA'), 'Call to action')
Ejemplo n.º 40
0
 def test_equal_21(self):
     self.assertEqual(acronym_buster("SWOT."), "Strengths, weaknesses, opportunities and threats.")
Ejemplo n.º 41
0
 def test_equal_19(self):
     self.assertEqual(acronym_buster('PB'), 'PB')
Ejemplo 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."),
     )
Ejemplo n.º 43
0
 def test_equal_21(self):
     self.assertEqual(acronym_buster('SWOT.'),
                      'Strengths, weaknesses, opportunities and threats.')
Ejemplo 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.'))
Ejemplo 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'))
Ejemplo 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"),
     )