Browse Source

Improved test. Compared reference_code should be hard-coded and not used from the object.

legal_entities
Markus Lorenz 7 years ago
parent
commit
84ecdd8b8a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      c3smembership/tests/test_mail_reminders_util.py

+ 1
- 1
c3smembership/tests/test_mail_reminders_util.py View File

@ -68,7 +68,7 @@ class TestMailMailConfirmationViews(unittest.TestCase):
parts = [german_part, english_part]
for part in parts:
payment_reference_code = u'C3Shares ' + self.__member.email_confirm_code
payment_reference_code = u'C3Shares ABCDEFGFOO'
occurances = 0
index = part.find(payment_reference_code)
while index > -1:


Loading…
Cancel
Save