Skip to content

Changed variable name to environment from environ (bugfix)#961

Merged
kissiel merged 1 commit intomainfrom
fix_tests_config_re
Jan 23, 2024
Merged

Changed variable name to environment from environ (bugfix)#961
kissiel merged 1 commit intomainfrom
fix_tests_config_re

Conversation

@Hook25
Copy link
Copy Markdown
Collaborator

@Hook25 Hook25 commented Jan 23, 2024

Description

This PR fixed the test but executing it reveals that it was also wrong. The section is called environment not environ. This fixes it and updates the function that is used to check to another one because unittest mocks work differently (and the other returns False on unittest and True on pytest)

Resolved issues

N/A

Documentation

N/A

Tests

N/A

@codecov
Copy link
Copy Markdown

codecov bot commented Jan 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (130710d) 39.19% compared to head (9dba5a9) 39.19%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #961   +/-   ##
=======================================
  Coverage   39.19%   39.19%           
=======================================
  Files         315      315           
  Lines       34898    34899    +1     
  Branches     5972     5972           
=======================================
+ Hits        13679    13680    +1     
  Misses      20608    20608           
  Partials      611      611           
Flag Coverage Δ
checkbox-support 50.06% <ø> (+0.01%) ⬆️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Copy Markdown
Contributor

@kissiel kissiel left a comment

Choose a reason for hiding this comment

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

+1

@kissiel kissiel merged commit 958ec61 into main Jan 23, 2024
@kissiel kissiel deleted the fix_tests_config_re branch January 23, 2024 10:03
LiaoU3 pushed a commit to LiaoU3/checkbox that referenced this pull request Mar 20, 2024
…#961)

Changed variable name to environment from environ
binli pushed a commit to binli/checkbox that referenced this pull request Mar 22, 2024
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