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