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

Add tests for main page view #14

Merged
merged 1 commit into from
Apr 14, 2024
Merged

Add tests for main page view #14

merged 1 commit into from
Apr 14, 2024

Conversation

Fer-Bar
Copy link
Owner

@Fer-Bar Fer-Bar commented Apr 14, 2024

This pull request adds tests for the main page view of our Django application. The tests cover the following:

  • Status code check to ensure the main page is accessible.
  • Template usage check to ensure the correct template is used.
  • HTML content check to ensure the main page contains the correct HTML.
  • Context check to ensure the correct context is passed to the template.

These tests will help ensure the main page view functions as expected and will aid in future development.

@Fer-Bar Fer-Bar self-assigned this Apr 14, 2024
@Fer-Bar Fer-Bar added the enhancement New feature or request label Apr 14, 2024
@Fer-Bar Fer-Bar merged commit a60de88 into main Apr 14, 2024
1 check failed
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant