Skip to content

Conversation

@prady0t
Copy link

@prady0t prady0t commented Nov 14, 2025

I've made some conversions to the test_study_functions.py file, and it now only uses pytest. List of changes made:

  • Removed the unittest.TestCase class structure
  • Converted setUp / tearDown into pytest fixtures
  • Replaced helper methods with fixtures
  • Removed all uses of self
  • Replaced unittest.assert* with plain assert
  • Removed test wrapper methods & replaced with parametrization
  • Moved shared utilities into conftest.py

Metadata

Details

Signed-off-by: Pradyot Ranjan <99216956+pradyotRanjan@users.noreply.github.com>
Signed-off-by: Pradyot Ranjan <99216956+pradyotRanjan@users.noreply.github.com>
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 52.72%. Comparing base (4b1bdf4) to head (f61b5eb).

Additional details and impacted files
@@             Coverage Diff              @@
##           develop    #1439       +/-   ##
============================================
- Coverage    79.90%   52.72%   -27.18%     
============================================
  Files           36       36               
  Lines         4349     4349               
============================================
- Hits          3475     2293     -1182     
- Misses         874     2056     +1182     

☔ 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.

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