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

feat(escalating_issues): Make tests inherit from SnubaTestCase #48332

Merged
merged 3 commits into from
May 2, 2023

Conversation

armenzg
Copy link
Member

@armenzg armenzg commented May 2, 2023

SnubaTestCase ensures to leave the snuba instance in a good state.

This is based on #48330

In PR #48272 we noticed that just inheriting from `SnubaTestCase` would no make the tests execute.

Making `SnubaTestCase` inherit from `django.TestCase` fixes this.
`SnubaTestCase` ensures to leave the snuba instance in a good state.
@armenzg armenzg added this to the Escalating Issues V1 milestone May 2, 2023
@armenzg armenzg self-assigned this May 2, 2023
@armenzg armenzg changed the base branch from armenzg/testing/make-snuba-test-case-run-tests to master May 2, 2023 14:57
@armenzg armenzg marked this pull request as ready for review May 2, 2023 15:24
@codecov
Copy link

codecov bot commented May 2, 2023

Codecov Report

Merging #48332 (e2113a1) into master (db11a03) will increase coverage by 0.00%.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #48332   +/-   ##
=======================================
  Coverage   80.91%   80.91%           
=======================================
  Files        4774     4774           
  Lines      201756   201756           
  Branches    11521    11521           
=======================================
+ Hits       163254   163260    +6     
+ Misses      38247    38241    -6     
  Partials      255      255           

see 5 files with indirect coverage changes

@armenzg armenzg merged commit 52fde50 into master May 2, 2023
@armenzg armenzg deleted the armenzg/escalating/tests-to-use-snuba-test branch May 2, 2023 16:51
@github-actions github-actions bot locked and limited conversation to collaborators Jun 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants