summaryrefslogtreecommitdiff
path: root/test/templates/test_ceo_template.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/templates/test_ceo_template.py')
-rw-r--r--test/templates/test_ceo_template.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/test/templates/test_ceo_template.py b/test/templates/test_ceo_template.py
index 6962a20..4bf37d0 100644
--- a/test/templates/test_ceo_template.py
+++ b/test/templates/test_ceo_template.py
@@ -10,10 +10,8 @@ class CEOEmailTemplateTest(unittest.TestCase):
def test_ceo_email(self):
result = self.template.build(timesheets=[self.not_approved, self.not_submitted])
- self.assertIn("Markus Krogh (MKR)", result)
- self.assertIn("Markus Krogh (MK)", result)
- self.assertIn("has not been approved by JK", result)
- self.assertIn("has not been approved by JKL", result)
- self.assertIn("has been submitted", result)
- self.assertIn("has not been submitted", result)
+ self.assertIn("[Not approved] Markus Krogh (MK)", result)
+ self.assertIn("JK", result)
+ self.assertIn("[Unsubmitted] Markus Krogh (MKR)", result)
+ self.assertIn("JKL", result)