This commit is contained in:
@@ -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]
|
[thinkloom]
|
||||||
repository = https://git.labyricorn.com/Labyricorn/thinkloom-openai-hackathon.git
|
repository = https://git.labyricorn.com/Labyricorn/thinkloom-openai-hackathon.git
|
||||||
web_url = https://git.labyricorn.com/Labyricorn/thinkloom-openai-hackathon
|
web_url = https://git.labyricorn.com/Labyricorn/thinkloom-openai-hackathon
|
||||||
api_url = https://git.labyricorn.com/api/v1/repos/Labyricorn/thinkloom-openai-hackathon
|
api_url = https://git.labyricorn.com/api/v1/repos/Labyricorn/thinkloom-openai-hackathon
|
||||||
branch = main
|
branch = main
|
||||||
featured_order = 10
|
|
||||||
|
|
||||||
[twungeon]
|
[twungeon]
|
||||||
repository = https://git.labyricorn.com/Labyricorn/Twungeon.git
|
repository = https://git.labyricorn.com/Labyricorn/Twungeon.git
|
||||||
|
|||||||
@@ -29,7 +29,9 @@ from project_sources import ( # noqa: E402
|
|||||||
class ProjectSourceTests(unittest.TestCase):
|
class ProjectSourceTests(unittest.TestCase):
|
||||||
def test_registry_feature_order_is_optional_and_numeric(self) -> None:
|
def test_registry_feature_order_is_optional_and_numeric(self) -> None:
|
||||||
site_root = Path(__file__).resolve().parents[1]
|
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:
|
def test_registry_urls_must_be_public_https_without_credentials(self) -> None:
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
|
|||||||
Reference in New Issue
Block a user