mirror of
https://github.com/vinta/awesome-python.git
synced 2026-08-04 07:03:57 +00:00
fix(readme): rename group "Miscellaneous" to "Other"
Avoids a slug collision between the group "Miscellaneous" and the category of the same name once both share the /categories/ URL namespace introduced in the upcoming filter-URL refactor. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
39d4b3db4b
commit
a46b57e428
2 changed files with 6 additions and 6 deletions
|
|
@ -487,10 +487,10 @@ class TestParseRealReadme:
|
|||
assert "https://" not in algos["description"]
|
||||
assert 'href="https://github.com/tayllan/awesome-algorithms"' in algos["description_html"]
|
||||
|
||||
def test_miscellaneous_in_own_group(self):
|
||||
misc_group = next((g for g in self.groups if g["name"] == "Miscellaneous"), None)
|
||||
assert misc_group is not None
|
||||
assert any(c["name"] == "Miscellaneous" for c in misc_group["categories"])
|
||||
def test_miscellaneous_category_in_other_group(self):
|
||||
other_group = next((g for g in self.groups if g["name"] == "Other"), None)
|
||||
assert other_group is not None
|
||||
assert any(c["name"] == "Miscellaneous" for c in other_group["categories"])
|
||||
|
||||
def test_all_entries_have_nonempty_names(self):
|
||||
bad = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue