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