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

Add/fix resource debugging and a tests for #665 (BugFix) #666

Merged
merged 3 commits into from
Dec 13, 2023

Conversation

Saviq
Copy link
Contributor

@Saviq Saviq commented Aug 17, 2023

This adds a couple tests to showcase #665 - one, incorrectly, @expectedFailure.

Also fixes a debug statement and adds one helpful when debugging requirements.

Copy link
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.

Awesome stuff, why has't it landed yet ⁉️

@Saviq
Copy link
Contributor Author

Saviq commented Oct 30, 2023

Awesome stuff, why has't it landed yet ⁉️

Must be the PR number, but if not on 👻 time, when!?

@codecov
Copy link

codecov bot commented Oct 31, 2023

Codecov Report

Merging #666 (341f3c0) into main (1c88dc1) will decrease coverage by 0.01%.
Report is 1 commits behind head on main.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #666      +/-   ##
==========================================
- Coverage   34.83%   34.83%   -0.01%     
==========================================
  Files         302      302              
  Lines       34165    34166       +1     
  Branches     5909     5909              
==========================================
- Hits        11903    11902       -1     
- Misses      21697    21698       +1     
- Partials      565      566       +1     
Flag Coverage Δ
checkbox-ng 61.65% <100.00%> (-0.02%) ⬇️

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

Files Coverage Δ
checkbox-ng/plainbox/impl/resource.py 86.66% <100.00%> (+0.04%) ⬆️

... and 1 file with indirect coverage changes

@kissiel kissiel changed the title Add/fix resource debugging and a tests for #665 Add/fix resource debugging and a tests for #665 (BugFix) Oct 31, 2023
@kissiel
Copy link
Contributor

kissiel commented Oct 31, 2023

/canonical/self-hosted-runners/run-workflows 3386240

It referred to the `resource` above.
This helps a lot with debugging expressions.
@kissiel
Copy link
Contributor

kissiel commented Oct 31, 2023

/canonical/self-hosted-runners/run-workflows 341f3c0

@Hook25 Hook25 merged commit 047663f into canonical:main Dec 13, 2023
6 of 8 checks passed
binli pushed a commit to binli/checkbox that referenced this pull request Mar 22, 2024
…nonical#666)

* Fix debug in Resource.evaluate()

It referred to the `resource` above.

* Add a debug statement for matched expressions

This helps a lot with debugging expressions.

* Add tests for canonical#665
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