Skip to content

Test known paths#263

Draft
hmpf wants to merge 1 commit into
Uninett:masterfrom
hmpf:test-known-paths
Draft

Test known paths#263
hmpf wants to merge 1 commit into
Uninett:masterfrom
hmpf:test-known-paths

Conversation

@hmpf
Copy link
Copy Markdown
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
Copy Markdown
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 thread tests/test_urls.py
Comment on lines +110 to +112
def test_no_necessary_paths_should_be_missing(self):
installed_paths = set(UrlpatternFlattener().paths)
missing = NECESSARY_PATHS - installed_paths
Copy link
Copy Markdown
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
Copy Markdown
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
@sonarqubecloud
Copy link
Copy Markdown

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

@github-actions
Copy link
Copy Markdown

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.

@hmpf hmpf self-assigned this Aug 8, 2025
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