Skip to content

Conversation

rane-rajasi
Copy link
Contributor

No description provided.

@rane-rajasi rane-rajasi requested review from a team, najams, michellemcdaniel, kjohn-msft, nikhim-um and Copilot and removed request for a team, najams, michellemcdaniel and nikhim-um May 16, 2025 22:06
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes unit test failures on Python 2.7 by removing a type-annotated __init__ override in the TestBootstrapper class, allowing it to use the default unittest.TestCase constructor.

  • Removed custom __init__ method with Python 3 type annotation.
  • Restored reliance on unittest.TestCase’s built-in constructor for compatibility.

Copy link

codecov bot commented May 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.77%. Comparing base (cf5800f) to head (ad54532).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #325      +/-   ##
==========================================
- Coverage   93.77%   93.77%   -0.01%     
==========================================
  Files         103      103              
  Lines       17926    17924       -2     
==========================================
- Hits        16811    16809       -2     
  Misses       1115     1115              
Flag Coverage Δ
python27 93.77% <ø> (-0.01%) ⬇️
python312 93.77% <ø> (-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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@kjohn-msft kjohn-msft changed the title Fixing UT failure with Py2.7 Bugfix: Fixing Bootstrapper UT failure with Python 2.7 May 19, 2025
@kjohn-msft kjohn-msft added engg. hygiene Engineering hygiene related bug Something isn't working labels May 19, 2025
@rane-rajasi rane-rajasi merged commit 2b369d7 into master May 19, 2025
8 checks passed
@rane-rajasi rane-rajasi deleted the rarane/bugfix/utfailure branch May 19, 2025 17:04
rane-rajasi added a commit that referenced this pull request May 19, 2025
This release includes:
[x] Bugfix: Fixing Bootstrapper UT failure with Python 2.7: #325 
[x] Bugfix: Optional parameter use in run_command_output & legacy
return_code: #324
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working engg. hygiene Engineering hygiene related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants