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 more tests for task.python.build #582

Merged
merged 2 commits into from
Sep 19, 2023
Merged

Conversation

cottsay
Copy link
Member

@cottsay cottsay commented Sep 6, 2023

A high-level view of this change:

  • Take test_build_python and move the majority of the content to _test_build_python
  • Make it tolerant of multiple invocations
  • Write a new test_build_python that just calls the new method
  • Write a _symlink variant
  • Write a _symlink_first variant which invokes the function twice
  • Write a _symlink_second variant which inverts the order

Requires #579

@cottsay cottsay added the enhancement New feature or request label Sep 6, 2023
@cottsay cottsay self-assigned this Sep 6, 2023
@codecov
Copy link

codecov bot commented Sep 6, 2023

Codecov Report

Patch coverage has no change and project coverage change: +1.35% 🎉

Comparison is base (63f95b4) 81.96% compared to head (b671c38) 83.32%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #582      +/-   ##
==========================================
+ Coverage   81.96%   83.32%   +1.35%     
==========================================
  Files          65       65              
  Lines        3759     3759              
  Branches      725      725              
==========================================
+ Hits         3081     3132      +51     
+ Misses        623      551      -72     
- Partials       55       76      +21     

see 3 files with indirect coverage changes

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

@delete-merged-branch delete-merged-branch bot deleted the branch master September 13, 2023 19:28
@cottsay cottsay changed the base branch from cottsay/no-cov-subprocess to master September 13, 2023 19:29
@cottsay cottsay marked this pull request as ready for review September 13, 2023 19:29
A high-level view of this change:
* Take test_build_python and move the majority of the content to
  _test_build_python
* Make it tolerant of multiple invocations
* Write a new test_build_python that just calls the new function
* Write a _symlink variant
* Write a _symlink_first variant which invokes the function twice
* Write a _symlink_second variant which inverts the order
Copy link
Contributor

@j-rivero j-rivero left a comment

Choose a reason for hiding this comment

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

Did not find anything bad, minor comment on var name.

test/test_build_python.py Show resolved Hide resolved
@cottsay cottsay merged commit c1fe1e9 into master Sep 19, 2023
35 checks passed
@delete-merged-branch delete-merged-branch bot deleted the cottsay/more-build-tests branch September 19, 2023 01:56
@cottsay cottsay added this to the 0.13.0 milestone Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

2 participants