Esempio n. 1
0
 def test_when_MMMMM_trailing_text(self):
     actual = mmf._is_mmf_footer('MMMMMTEXT')
     expected = False
     self.assertEqual(actual, expected)
Esempio n. 2
0
 def test_when_MMMMM_leading_space(self):
     actual = mmf._is_mmf_footer(' MMMMM')
     expected = False
     self.assertEqual(actual, expected)
Esempio n. 3
0
 def test_when_MMMMM_missing_M(self):
     actual = mmf._is_mmf_footer('MMMM')
     expected = False
     self.assertEqual(actual, expected)
Esempio n. 4
0
 def test_when_trailing_space(self):
     actual = mmf._is_mmf_footer('----- ')
     expected = False
     self.assertEqual(actual, expected)
Esempio n. 5
0
 def test_when_missing_dash(self):
     actual = mmf._is_mmf_footer('----')
     expected = False
     self.assertEqual(actual, expected)
Esempio n. 6
0
 def test_when_MMMMM(self):
     actual = mmf._is_mmf_footer('MMMMM')
     expected = True
     self.assertEqual(actual, expected)
Esempio n. 7
0
 def test_when_empty(self):
     actual = mmf._is_mmf_footer('')
     expected = False
     self.assertEqual(actual, expected)
Esempio n. 8
0
 def test_when_MMMMM_trailing_text(self):
     actual = mmf._is_mmf_footer('MMMMMTEXT')
     expected = False
     self.assertEqual(actual, expected)
Esempio n. 9
0
 def test_when_normal(self):
     actual = mmf._is_mmf_footer('-----')
     expected = True
     self.assertEqual(actual, expected)
Esempio n. 10
0
 def test_when_MMMMM_leading_space(self):
     actual = mmf._is_mmf_footer(' MMMMM')
     expected = False
     self.assertEqual(actual, expected)
Esempio n. 11
0
 def test_when_MMMMM_missing_M(self):
     actual = mmf._is_mmf_footer('MMMM')
     expected = False
     self.assertEqual(actual, expected)
Esempio n. 12
0
 def test_when_missing_dash(self):
     actual = mmf._is_mmf_footer('----')
     expected = False
     self.assertEqual(actual, expected)
Esempio n. 13
0
 def test_when_trailing_space(self):
     actual = mmf._is_mmf_footer('----- ')
     expected = False
     self.assertEqual(actual, expected)
Esempio n. 14
0
 def test_when_empty(self):
     actual = mmf._is_mmf_footer('')
     expected = False
     self.assertEqual(actual, expected)
Esempio n. 15
0
 def test_when_MMMMM(self):
     actual = mmf._is_mmf_footer('MMMMM')
     expected = True
     self.assertEqual(actual, expected)
Esempio n. 16
0
 def test_when_normal(self):
     actual = mmf._is_mmf_footer('-----')
     expected = True
     self.assertEqual(actual, expected)