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

chore: Convert features views APITestCase and TestCase to a normal test function #3822

Merged
merged 5 commits into from
Apr 30, 2024

Conversation

zachaysan
Copy link
Contributor

Thanks for submitting a PR! Please check the boxes below:

  • I have run pre-commit to check linting
  • I have added information to docs/ if required so people know about the feature!
  • I have filled in the "Changes" section below?
  • I have filled in the "How did you test this code" section below?
  • I have used a Conventional Commit title for this Pull Request

Changes

I'm working through re-writing the TestCase and APITestCase classes into normal test functions. I rewrote the existing classes and replaced with fixtures instead of recreating everything. There are other PRs that are similar to this one.

How did you test this code?

I manually changed the tests one at a time to refactor them as I went then ran the full test suite afterwards.

Copy link

vercel bot commented Apr 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 29, 2024 2:33pm
flagsmith-frontend-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 29, 2024 2:33pm
flagsmith-frontend-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 29, 2024 2:33pm

@github-actions github-actions bot added the api Issue related to the REST API label Apr 22, 2024
@zachaysan zachaysan requested review from a team and gagantrivedi and removed request for a team April 22, 2024 14:45
Copy link
Contributor

github-actions bot commented Apr 22, 2024

Uffizzi Preview deployment-50595 was deleted.

@codecov-commenter
Copy link

codecov-commenter commented Apr 22, 2024

Codecov Report

Attention: Patch coverage is 99.58848% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 95.87%. Comparing base (3372207) to head (a93b6eb).
Report is 1 commits behind head on main.

Files Patch % Lines
api/conftest.py 90.90% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3822      +/-   ##
==========================================
- Coverage   95.95%   95.87%   -0.09%     
==========================================
  Files        1129     1129              
  Lines       35862    35788      -74     
==========================================
- Hits        34410    34310     -100     
- Misses       1452     1478      +26     

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

Copy link
Member

@gagantrivedi gagantrivedi left a comment

Choose a reason for hiding this comment

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

Can we take this optimity to add

@gagantrivedi gagantrivedi added this pull request to the merge queue Apr 30, 2024
Merged via the queue into main with commit 73d1f91 Apr 30, 2024
22 checks passed
@gagantrivedi gagantrivedi deleted the chore/convert_features_views branch April 30, 2024 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issue related to the REST API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants