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

Added skip for unit tests that fail when running AEDT with COM #3953

Merged
merged 2 commits into from
Dec 7, 2023

Conversation

Alberto-DM
Copy link
Collaborator

Some unit tests will fail when opening desktop with COM, because some methods are only supported when AEDT runs in GRPC mode.
This PR add a skip decorator for unit tests that fail when running AEDT with COM.
NOTE that CI unit tests run always in GRPC mode, so this modification is only necessary when running tests locally for development purposes.

@ansys-reviewer-bot
Copy link
Contributor

Thanks for opening a Pull Request. If you want to perform a review write a comment saying:

@ansys-reviewer-bot review

Copy link

codecov bot commented Dec 6, 2023

Codecov Report

Merging #3953 (678557e) into main (223399e) will increase coverage by 0.00%.
Report is 2 commits behind head on main.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3953   +/-   ##
=======================================
  Coverage   81.35%   81.36%           
=======================================
  Files         182      182           
  Lines       63147    63179   +32     
=======================================
+ Hits        51372    51403   +31     
- Misses      11775    11776    +1     

Copy link
Member

@Samuelopez-ansys Samuelopez-ansys left a comment

Choose a reason for hiding this comment

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

LGTM. As you know we are deprecating COM, so I like this PR to keep back compatibility for now.

@Alberto-DM Alberto-DM merged commit aa36100 into main Dec 7, 2023
12 checks passed
@Alberto-DM Alberto-DM deleted the added_skip_in_unitest_with_com branch December 7, 2023 11:54
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.

2 participants