@@ -9,16 +9,16 @@ def setup_module():
99def test_sanitize_email ():
1010 assert user .sanitize_email (None ) is None
1111 assert user .sanitize_email ('' ) == ''
12- assert user .sanitize_email ('test@example.com ' ) == (
13- 'zoe.burke@xce13103b.sanitized.net ' )
14- assert user .sanitize_email ('test2@example.com ' ) == (
15- 'Melanie.Pratt@x4feb7f40.sanitized.net ' )
16- assert user .sanitize_email ('test@example.com ' ) == (
17- 'zoe.burke@xce13103b.sanitized.net ' )
18- assert user .sanitize_email ('test3@example.com ' ) == (
19- 'irene.archer@x3d2e92ec.sanitized.net ' )
20- assert user .sanitize_email (' test3@example.com ' ) == (
21- 'irene.archer@x3d2e92ec.sanitized.net ' )
12+ assert user .sanitize_email ('test@example.net ' ) == (
13+ 'Marian.Little@x12decfd0.san.example.com ' )
14+ assert user .sanitize_email ('test2@example.net ' ) == (
15+ 'Melanie.Pratt@x4feb7f40.san.example.com ' )
16+ assert user .sanitize_email ('test@example.net ' ) == (
17+ 'maureen.graham@x8ed2cb6e.san.example.com ' )
18+ assert user .sanitize_email ('test3@example.net ' ) == (
19+ 'irene.archer@x3d2e92ec.san.example.com ' )
20+ assert user .sanitize_email (' test3@example.net ' ) == (
21+ 'irene.archer@x3d2e92ec.san.example.com ' )
2222
2323
2424def test_sanitize_username ():
@@ -59,9 +59,9 @@ def test_sanitize_surname_en_gb():
5959
6060
6161def test_sanitize_email_resets_on_session_reset ():
62- assert user .sanitize_email ('test@example.com ' ) == (
63- 'zoe.burke@xce13103b.sanitized.net ' )
62+ assert user .sanitize_email ('test@example.net ' ) == (
63+ 'zoe.burke@xce13103b.san.example.com ' )
6464 session .reset ()
65- assert user .sanitize_email ('test@example.com ' ) != (
66- 'zoe.burke@xce13103b.sanitized.net ' )
65+ assert user .sanitize_email ('test@example.net ' ) != (
66+ 'zoe.burke@xce13103b.san.example.com ' )
6767 session .reset (b'not-so-secret-key' )
0 commit comments