Skip to content

Commit 5a4a5c9

Browse files
committed
Update testing functions
Created subdirectory and moved test functions Changes to be committed: renamed: tests/test_views/__init__.py -> tests/test_apis/__init__.py new file: tests/test_apis/test_api_authentication/__init__.py renamed: tests/test_views/test_account_activate.py -> tests/test_apis/test_api_authentication/test_account_activate.py renamed: tests/test_views/test_account_describe.py -> tests/test_apis/test_api_authentication/test_account_describe.py renamed: tests/test_views/test_account_new.py -> tests/test_apis/test_api_authentication/test_account_new.py renamed: tests/test_views/test_api_auth_add.py -> tests/test_apis/test_api_authentication/test_api_auth_add.py renamed: tests/test_views/test_api_auth_remove.py -> tests/test_apis/test_api_authentication/test_api_auth_remove.py renamed: tests/test_views/test_api_auth_reset_token.py -> tests/test_apis/test_api_authentication/test_api_auth_reset_token.py renamed: tests/test_views/test_api_objects_drafts_create.py -> tests/test_apis/test_api_objects_drafts_create.py renamed: tests/test_views/test_auth_add.py -> tests/test_apis/test_auth_add.py renamed: tests/test_views/test_auth_remove.py -> tests/test_apis/test_auth_remove.py renamed: tests/test_views/test_auth_reset_token.py -> tests/test_apis/test_auth_reset_token.py renamed: tests/test_views/test_objects_drafts_create.py -> tests/test_apis/test_objects_drafts_create.py renamed: tests/test_views/test_prefixes_create.py -> tests/test_apis/test_prefixes_create.py new file: tests/test_apis/test_prefixes_modify.py deleted: tests/test_views/test_api_account_activate.py deleted: tests/test_views/test_api_account_describe.py deleted: tests/test_views/test_api_account_new.py deleted: tests/test_views/test_prefixes_modify.py
1 parent 6dd83e6 commit 5a4a5c9

19 files changed

+151
-306
lines changed

tests/test_apis/test_api_authentication/__init__.py

Whitespace-only changes.

tests/test_views/test_account_activate.py renamed to tests/test_apis/test_api_authentication/test_account_activate.py

File renamed without changes.

tests/test_views/test_account_describe.py renamed to tests/test_apis/test_api_authentication/test_account_describe.py

File renamed without changes.

tests/test_views/test_account_new.py renamed to tests/test_apis/test_api_authentication/test_account_new.py

File renamed without changes.

tests/test_views/test_api_auth_add.py renamed to tests/test_apis/test_api_authentication/test_api_auth_add.py

File renamed without changes.

tests/test_views/test_api_auth_remove.py renamed to tests/test_apis/test_api_authentication/test_api_auth_remove.py

File renamed without changes.

tests/test_views/test_api_auth_reset_token.py renamed to tests/test_apis/test_api_authentication/test_api_auth_reset_token.py

File renamed without changes.

tests/test_views/test_api_objects_drafts_create.py renamed to tests/test_apis/test_api_objects_drafts_create.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ def setUp(self):
5050
{
5151
"object_id": "http://127.0.0.1:8000/TEST_000001",
5252
"prefix": "TEST",
53-
# "authorized_groups": ["testing"],
5453
"contents": {
5554
"object_id": "https://biocomputeobject.org/TEST_000001",
5655
"spec_version": "https://w3id.org/ieee/ieee-2791-schema/2791object.json",
@@ -105,7 +104,6 @@ def test_bad_request(self):
105104
{
106105
"object_id": "http://127.0.0.1:8000/TEST_000001",
107106
"prefix": "TEST",
108-
"authorized_groups": ["testing"],
109107
"contents": {
110108
"object_id": "https://biocomputeobject.org/TEST_000001",
111109
"spec_version": "https://w3id.org/ieee/ieee-2791-schema/2791object.json",

0 commit comments

Comments
 (0)