Changeset 9cc65af in OpenWorkouts-current for ow/tests


Ignore:
Timestamp:
Oct 13, 2019, 8:13:04 PM (5 years ago)
Author:
Borja Lopez <borja@…>
Branches:
current
Children:
b9a2c00
Parents:
8340661
Message:

Make root.emails return emails sorted alphabetically
(makes our life easier in some randomly failing tests)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ow/tests/models/test_root.py

    r8340661 r9cc65af  
    156156                    email='Jack.Dumb@example.net')
    157157        root.add_user(user)
    158         assert root.lowercase_emails == ['john.doe@example.net',
    159                                          'jack.dumb@example.net']
     158        assert root.lowercase_emails == ['jack.dumb@example.net',
     159                                         'john.doe@example.net']
    160160
    161161    def test_sports(self, root, john):
Note: See TracChangeset for help on using the changeset viewer.