Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop tests and document 'get_object_id' #178

Closed
Tracked by #166
HadleyKing opened this issue Jun 2, 2023 · 0 comments
Closed
Tracked by #166

Develop tests and document 'get_object_id' #178

HadleyKing opened this issue Jun 2, 2023 · 0 comments

Comments

@HadleyKing
Copy link
Collaborator

No description provided.

@HadleyKing HadleyKing changed the title Develop tests and documentget 'object_id' Develop tests and document 'get_object_id' Jun 30, 2023
HadleyKing added a commit that referenced this issue Jul 27, 2023
HadleyKing added a commit that referenced this issue Jul 27, 2023
* 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]>

* Fix Swagger for `GET_published_object_by_id`

* tests and documentation for 'get_object_id'

Fix #178

---------

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]>
HadleyKing added a commit that referenced this issue Oct 17, 2023
* 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]>

* Fix Swagger for `GET_published_object_by_id`

* tests and documentation for 'get_object_id'

Fix #178

---------

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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant