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

[Refactor] Move OfferWizardStepView to separate file #4174

Merged
merged 4 commits into from
Jan 5, 2024

Conversation

samar-hassan
Copy link
Contributor

This PR moves OfferWizardStepView to a separate file and dynamically loaded in dashboard.offers.views. This removes the burden of changing the same thing in 4 different step classes.

@codecov
Copy link

codecov bot commented Sep 22, 2023

Codecov Report

Merging #4174 (ddd4b49) into master (1c25682) will increase coverage by 0.02%.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4174      +/-   ##
==========================================
+ Coverage   87.61%   87.63%   +0.02%     
==========================================
  Files         290      291       +1     
  Lines       15946    15945       -1     
==========================================
+ Hits        13971    13974       +3     
+ Misses       1975     1971       -4     
Files Coverage Δ
src/oscar/apps/dashboard/offers/views.py 98.08% <100.00%> (+0.52%) ⬆️
src/oscar/apps/dashboard/offers/wizard_views.py 100.00% <100.00%> (ø)

Copy link
Member

@specialunderwear specialunderwear left a comment

Choose a reason for hiding this comment

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

HI, Samar, some untested code shows up in your refactoring. Do you think you could add tests for these cases?

Copy link
Member

@specialunderwear specialunderwear left a comment

Choose a reason for hiding this comment

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

It seems there is still some untested code left.

@specialunderwear specialunderwear merged commit ccf712a into master Jan 5, 2024
23 checks passed
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.

None yet

2 participants