diff --git a/configs/project-sources.ini b/configs/project-sources.ini index 76fb15e..073587a 100644 --- a/configs/project-sources.ini +++ b/configs/project-sources.ini @@ -1,9 +1,15 @@ +[thinkstorm] +repository = https://git.labyricorn.com/Labyricorn/ThinkStorm.git +web_url = https://git.labyricorn.com/Labyricorn/ThinkStorm +api_url = https://git.labyricorn.com/api/v1/repos/Labyricorn/ThinkStorm +branch = main +featured_order = 0 + [thinkloom] repository = https://git.labyricorn.com/Labyricorn/thinkloom-openai-hackathon.git web_url = https://git.labyricorn.com/Labyricorn/thinkloom-openai-hackathon api_url = https://git.labyricorn.com/api/v1/repos/Labyricorn/thinkloom-openai-hackathon branch = main -featured_order = 10 [twungeon] repository = https://git.labyricorn.com/Labyricorn/Twungeon.git diff --git a/tests/test_project_sources.py b/tests/test_project_sources.py index 7685b7f..90fe7ea 100644 --- a/tests/test_project_sources.py +++ b/tests/test_project_sources.py @@ -29,7 +29,9 @@ from project_sources import ( # noqa: E402 class ProjectSourceTests(unittest.TestCase): def test_registry_feature_order_is_optional_and_numeric(self) -> None: site_root = Path(__file__).resolve().parents[1] - self.assertEqual(load_registry(site_root)[0]["featured_order"], 10) + registry = {source["project_id"]: source for source in load_registry(site_root)} + self.assertEqual(registry["thinkstorm"]["featured_order"], 0) + self.assertNotIn("featured_order", registry["thinkloom"]) def test_registry_urls_must_be_public_https_without_credentials(self) -> None: self.assertEqual(