-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
36a23ae
commit 18c904e
Showing
3 changed files
with
9 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -201,6 +201,7 @@ def _org_create(self, org_data=None): | |
response = view(request) | ||
self.assertEqual(response.status_code, 200) | ||
data = { | ||
"email": "[email protected]", | ||
"org": "denoinc", | ||
"name": "Dennis", | ||
"city": "Denoville", | ||
|
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 |
---|---|---|
|
@@ -214,16 +214,16 @@ def test_orgs_get_anon(self): | |
self.assertTrue(isinstance(user["user"], text)) | ||
|
||
def test_orgs_create(self): | ||
org_email = "[email protected]" | ||
self._org_create(org_data = {"email": org_email}) | ||
self._org_create() | ||
self.assertTrue(self.organization.user.is_active) | ||
self.assertEqual(self.organization.user.email, org_email) | ||
self.assertEqual(self.organization.user.email, "[email protected]") | ||
|
||
def test_orgs_create_without_name(self): | ||
data = { | ||
"org": "denoinc", | ||
"city": "Denoville", | ||
"country": "US", | ||
"email": "[email protected]", | ||
"home_page": "deno.com", | ||
"twitter": "denoinc", | ||
"description": "", | ||
|
@@ -563,6 +563,7 @@ def test_orgs_create_with_mixed_case(self): | |
"home_page": "deno.com", | ||
"twitter": "denoinc", | ||
"description": "", | ||
"email": "[email protected]", | ||
"address": "", | ||
"phonenumber": "", | ||
"require_auth": False, | ||
|