-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
disable add/edit/delete on v1 (#748)
[#188514696]
- Loading branch information
1 parent
ba7a091
commit b7d9f44
Showing
9 changed files
with
12 additions
and
1,244 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
import urllib.parse | ||
from unittest import skipIf | ||
|
||
import django | ||
import post_office.models | ||
from django.contrib.auth import get_user_model | ||
from django.test import RequestFactory, TestCase, override_settings | ||
|
@@ -73,11 +71,6 @@ def test_register_inactive_user(self): | |
) | ||
self.assertContains(resp, 'An e-mail has been sent to your address.') | ||
|
||
# TODO: remove skip when 3.2 no longer supported | ||
@skipIf( | ||
django.VERSION < (4, 1), | ||
'assertFormError requires response object until Django 4.1', | ||
) | ||
def test_register_active_user(self): | ||
AuthUser.objects.create( | ||
username='existinguser', email='[email protected]', is_active=True | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.