mirror of
https://github.com/vinta/awesome-python.git
synced 2026-05-09 22:53:49 +08: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:
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user