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

Test known paths #263

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Test known paths #263

wants to merge 1 commit into from

Conversation

hmpf
Copy link
Contributor

@hmpf hmpf commented Feb 1, 2021

Closes #261

@hmpf hmpf force-pushed the test-known-paths branch 2 times, most recently from 8ba7e9b to b962949 Compare February 2, 2021 09:22
@hmpf hmpf marked this pull request as ready for review February 2, 2021 09:37
@hmpf
Copy link
Contributor Author

hmpf commented Feb 2, 2021

The class is more or less copied/simplified from django-extensions show_urls and is overkill for this sole test. It's handy functionality to have around though, should perhaps live in a util library somewhere. (Well, should be available in Django proper but I digress.)

@hmpf hmpf requested a review from lunkwill42 February 2, 2021 09:40
Comment on lines +110 to +114
def test_no_necessary_paths_should_be_missing(self):
installed_paths = set(UrlpatternFlattener().paths)
missing = NECESSARY_PATHS - installed_paths
Copy link
Member

Choose a reason for hiding this comment

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

Where's the assertion this test makes?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Deffo needed and deffo missing.

@hmpf hmpf marked this pull request as draft March 3, 2021 08:44
@hmpf hmpf force-pushed the test-known-paths branch from b962949 to 1582134 Compare March 3, 2021 08:55
@hmpf hmpf added the rc-future label Oct 10, 2022
@hmpf hmpf force-pushed the test-known-paths branch from 1582134 to 6f526e0 Compare April 25, 2024 13:19
Copy link

sonarcloud bot commented Apr 25, 2024

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

Copy link

Test results

       4 files     332 suites   11m 35s ⏱️
   463 tests    461 ✔️ 1 💤 1
1 852 runs  1 844 ✔️ 4 💤 4

For more details on these failures, see this check.

Results for commit 6f526e0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add tests to check the validity of the list of endpoints
2 participants