Commit e28711b
authored
Bco perms (#293)
* Add `DraftRetrieveApi`
To do this functions related to Prefixes and the associated permissions were created
Changes to be committed:
modified: biocompute/apis.py
modified: biocompute/models.py
modified: biocompute/selectors.py
modified: biocompute/services.py
modified: biocompute/urls.py
modified: config/asgi.py
modified: config/fixtures/local_data.json
modified: config/services.py
modified: config/urls.py
modified: prefix/selectors.py
modified: prefix/services.py
deleted: test.json
modified: tests/fixtures/example_bco.py
modified: tests/fixtures/test_data.json
deleted: token.json
* 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
* Update to Test functions
Changes to be committed:
modified: biocompute/migrations/0001_initial.py
modified: docs/refactor.md
modified: prefix/apis.py
modified: prefix/migrations/0001_initial.py
modified: prefix/services.py
new file: tests/fixtures/bco_dump.json
modified: tests/fixtures/test_data.json
deleted: tests/test_apis/test_api_authentication/test_api_auth_add.py
deleted: tests/test_apis/test_api_authentication/test_api_auth_reset_token.py
renamed: tests/test_apis/test_auth_add.py -> tests/test_apis/test_api_authentication/test_auth_add.py
renamed: tests/test_apis/test_auth_reset_token.py -> tests/test_apis/test_api_authentication/test_auth_reset_token.py
renamed: tests/test_apis/test_api_authentication/test_api_auth_remove.py -> tests/test_apis/test_api_authentication/testi_auth_remove.py
deleted: tests/test_apis/test_api_objects_drafts_create.py
new file: tests/test_apis/test_api_prefix/__init__.py
renamed: tests/test_apis/test_prefixes_create.py -> tests/test_apis/test_api_prefix/test_prefixes_create.py
renamed: tests/test_apis/test_prefixes_modify.py -> tests/test_apis/test_api_prefix/test_prefixes_modify.py
deleted: tests/test_apis/test_auth_remove.py
new file: tests/test_apis/test_biocompute/__init__.py
renamed: tests/test_apis/test_objects_drafts_create.py -> tests/test_apis/test_biocompute/test_objects_drafts_create.py1 parent 5a4a5c9 commit e28711b
File tree
15 files changed
+5829
-124
lines changed- biocompute/migrations
- docs
- prefix
- migrations
- tests
- fixtures
- test_apis
- test_api_authentication
- test_api_prefix
- test_biocompute
15 files changed
+5829
-124
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | 13 | | |
| 14 | + | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
| |||
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
27 | | - | |
28 | 26 | | |
29 | | - | |
| 27 | + | |
30 | 28 | | |
31 | 29 | | |
32 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
| 128 | + | |
127 | 129 | | |
128 | 130 | | |
129 | 131 | | |
| |||
132 | 134 | | |
133 | 135 | | |
134 | 136 | | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | 137 | | |
139 | 138 | | |
140 | 139 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
| |||
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
27 | | - | |
| 26 | + | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
109 | 114 | | |
110 | 115 | | |
111 | 116 | | |
| |||
0 commit comments