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

mock the RemoteSessionAssistant entirely (BugFix) #776

Merged
merged 1 commit into from
Oct 20, 2023
Merged

Conversation

kissiel
Copy link
Contributor

@kissiel kissiel commented Oct 20, 2023

Description

Fix the unit tests not fully mocking parts of the remote assistant object, which made it run subprocess in the host system.

@kissiel kissiel changed the title mock the RemoteSessionAssistant entirely mock the RemoteSessionAssistant entirely (BugFix) Oct 20, 2023
Copy link
Collaborator

@Hook25 Hook25 left a comment

Choose a reason for hiding this comment

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

+1, strange this didn't fail in CI

@codecov
Copy link

codecov bot commented Oct 20, 2023

Codecov Report

Merging #776 (b23600e) into main (1651c3f) will decrease coverage by 0.11%.
Report is 2 commits behind head on main.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #776      +/-   ##
==========================================
- Coverage   34.67%   34.57%   -0.11%     
==========================================
  Files         302      302              
  Lines       34162    34162              
  Branches     5910     5910              
==========================================
- Hits        11847    11812      -35     
- Misses      21749    21784      +35     
  Partials      566      566              
Flag Coverage Δ
checkbox-ng 61.65% <ø> (-0.25%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 3 files with indirect coverage changes

@kissiel kissiel merged commit 77fef62 into main Oct 20, 2023
16 of 18 checks passed
@kissiel kissiel deleted the fix-rsa-mock branch October 20, 2023 16:24
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