Skip to content

feat(sdk): Fix for tests for python sdk and environment variables for…#80

Merged
avinashpipalwa merged 5 commits intofeat/sdk/analyticsapi-engines-sdk-generator-pr-44from
fixtestsforsdk
Nov 19, 2021
Merged

feat(sdk): Fix for tests for python sdk and environment variables for…#80
avinashpipalwa merged 5 commits intofeat/sdk/analyticsapi-engines-sdk-generator-pr-44from
fixtestsforsdk

Conversation

@avinashpipalwa
Copy link
Contributor

… examples

Added changes for tests for python sdk.
Fixed the username variables to get the username serial from the environment variables.

… examples

Added changes for tests for python sdk.
Fixed the username variables to get the username serial from the environment variables.
@ksreeramoj
Copy link

Can you remove the commented lines.

Copy link
Contributor

@Ramanth Ramanth (Ramanth) left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

left minor comment

self.assertEqual(type(response[0].data[template_id]),
LinkedPATemplateSummary, "Response should be of LinkedPATemplateSummary type.")
self.assertEqual(type(response[0].data),
dict, "Response should be of LinkedPATemplateSummary type.")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like you are checking for dict type twice and the validation message is different

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will change the validation message to dict type, missed this.

Removed commented lines.
Changed the assert type.
@avinashpipalwa avinashpipalwa changed the base branch from master to feat/sdk/analyticsapi-engines-sdk-generator-pr-44 November 17, 2021 05:00
@avinashpipalwa avinashpipalwa merged commit 59c18d8 into feat/sdk/analyticsapi-engines-sdk-generator-pr-44 Nov 19, 2021
@avinashpipalwa avinashpipalwa deleted the fixtestsforsdk branch November 19, 2021 05:55
@avinashpipalwa avinashpipalwa restored the fixtestsforsdk branch November 30, 2021 06:45
avinashpipalwa added a commit that referenced this pull request Jan 10, 2022
* feat(sdk): Auto-commit from 'analyticsapi-engines-sdk-generator' repository PR 44 for SDK version v5.2.0

* feat(sdk): Fix for tests for python sdk and environment variables for… (#80)

* feat(sdk): Fix for tests for python sdk and environment variables for examples

Added changes for tests for python sdk.
Fixed the username variables to get the username serial from the environment variables.

* fix(sdk): fixed minor review comments

Removed commented lines.
Changed the assert type.

* fix(sdk): Tests for Python SDK

* feat(sdk): Fix tests for Python SDK

* Fixed SDK integration tests and username and password variables

Added FPO Integration tests and fixed example code snippet of FPO which was giving error while running.
Changed the naming conventions for username and password variables as per FactSet standards.

* Update test_fpo_calculations_api.py

Co-authored-by: factset-sdk-bot <svc-fds-sdk-bot@factset.com>
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

Successfully merging this pull request may close these issues.

3 participants