Commit b548d0e
Testing setup (#200)
* unit tests
test_fixtures.py - Exports the database as a pytest fixture that can be used for testing
* Add files via upload
* New api test files
* Fixed test_api_accounts_describe
Changes to be committed:
modified: api/apps.py
modified: api/model/groups.py
modified: api/model/prefix.py
deleted: api/tests/test_bcos.json
deleted: api/tests/test_forms.py
deleted: api/tests/test_group_post_api.py
deleted: api/tests/test_model_bco.py
deleted: api/tests/test_model_groups.py
deleted: api/tests/test_model_prefix.py
deleted: api/tests/test_model_user.py
deleted: api/tests/test_prefix_post_api.py
deleted: api/tests/test_views.py
deleted: api/tests_automated.py
modified: api/views.py
modified: bcodb/settings.py
renamed: api/tests/__init__.py -> tests/__init__.py
new file: tests/fixtures/test_data.json
modified: tests/test_fixtures.py
new file: tests/test_views/__init__.py
modified: tests/test_views/test_api_accounts_describe.py
* Fix Bulk Publish function
Changes to be committed:
modified: api/scripts/method_specific/POST_api_objects_publish.py
modified: api/scripts/utilities/JsonUtils.py
* Add reset_token API
Issue #158
* Formatting for Add/Remove ORCID
updated dev DB
Related to biocompute-objects/portal_userdb#90
Changes to be committed:
modified: admin_only/db.sqlite3.dev
modified: authentication/apis.py
* Fix #134
Changes to be committed:
modified: authentication/services.py
* Bump django from 3.2.10 to 3.2.13
Bumps [django](https://github.com/django/django) from 3.2.10 to 3.2.13.
- [Release notes](https://github.com/django/django/releases)
- [Commits](django/django@3.2.10...3.2.13)
---
updated-dependencies:
- dependency-name: django
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected]>
* new test - auth/remove
* conflicts solved and merged
* new bracnh for conflict resolution
Changes to be committed:
modified: .github/workflows/django.yml
modified: tests/test_views/test_api_objects_drafts_create.py
* update (#198)
* Fix Bulk Publish function
Changes to be committed:
modified: api/scripts/method_specific/POST_api_objects_publish.py
modified: api/scripts/utilities/JsonUtils.py
* Add reset_token API
Issue #158
* Formatting for Add/Remove ORCID
updated dev DB
Related to biocompute-objects/portal_userdb#90
Changes to be committed:
modified: admin_only/db.sqlite3.dev
modified: authentication/apis.py
* Fix #134
Changes to be committed:
modified: authentication/services.py
* Bump django from 3.2.10 to 3.2.13
Bumps [django](https://github.com/django/django) from 3.2.10 to 3.2.13.
- [Release notes](https://github.com/django/django/releases)
- [Commits](django/django@3.2.10...3.2.13)
---
updated-dependencies:
- dependency-name: django
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected]>
* added new test file- api/auth/remove.py (#196)
* unit tests
test_fixtures.py - Exports the database as a pytest fixture that can be used for testing
* Add files via upload
* New api test files
* Fixed test_api_accounts_describe
Changes to be committed:
modified: api/apps.py
modified: api/model/groups.py
modified: api/model/prefix.py
deleted: api/tests/test_bcos.json
deleted: api/tests/test_forms.py
deleted: api/tests/test_group_post_api.py
deleted: api/tests/test_model_bco.py
deleted: api/tests/test_model_groups.py
deleted: api/tests/test_model_prefix.py
deleted: api/tests/test_model_user.py
deleted: api/tests/test_prefix_post_api.py
deleted: api/tests/test_views.py
deleted: api/tests_automated.py
modified: api/views.py
modified: bcodb/settings.py
renamed: api/tests/__init__.py -> tests/__init__.py
new file: tests/fixtures/test_data.json
modified: tests/test_fixtures.py
new file: tests/test_views/__init__.py
modified: tests/test_views/test_api_accounts_describe.py
* Fix Bulk Publish function
Changes to be committed:
modified: api/scripts/method_specific/POST_api_objects_publish.py
modified: api/scripts/utilities/JsonUtils.py
* Add reset_token API
Issue #158
* Formatting for Add/Remove ORCID
updated dev DB
Related to biocompute-objects/portal_userdb#90
Changes to be committed:
modified: admin_only/db.sqlite3.dev
modified: authentication/apis.py
* Fix #134
Changes to be committed:
modified: authentication/services.py
* Bump django from 3.2.10 to 3.2.13
Bumps [django](https://github.com/django/django) from 3.2.10 to 3.2.13.
- [Release notes](https://github.com/django/django/releases)
- [Commits](django/django@3.2.10...3.2.13)
---
updated-dependencies:
- dependency-name: django
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected]>
* new test - auth/remove
* conflicts solved and merged
---------
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Hadley King <[email protected]>
Co-authored-by: hadleyking <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---------
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Reeya Gupta <[email protected]>
---------
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Reeya Gupta <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Reeya Gupta <[email protected]>1 parent 5ee98b4 commit b548d0e
File tree
2 files changed
+35
-20
lines changed- .github/workflows
- tests/test_views
2 files changed
+35
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
4 | 8 | | |
5 | 9 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
10 | 16 | | |
11 | 17 | | |
12 | | - | |
13 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
14 | 24 | | |
15 | | - | |
16 | 25 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
24 | 40 | | |
25 | | - | |
| 41 | + | |
| 42 | + | |
26 | 43 | | |
27 | | - | |
28 | | - | |
29 | 44 | | |
30 | 45 | | |
31 | 46 | | |
| |||
0 commit comments