mirror of
https://github.com/wilsonfreitas/awesome-quant.git
synced 2026-11-02 04:16:10 +00:00
Validate historical parser against current README entries (#659)
This commit is contained in:
@@ -65,9 +65,14 @@ class HistoricalProjectContractTests(unittest.TestCase):
|
||||
if entry["category"] == "Historical & Archived Projects"
|
||||
]
|
||||
|
||||
expected_projects = {
|
||||
entry.name
|
||||
for entry in iter_readme_entries(ROOT / "README.md")
|
||||
if entry.section == HISTORICAL_SECTION
|
||||
}
|
||||
self.assertTrue(expected_projects)
|
||||
self.assertEqual(
|
||||
{entry["project"] for entry in historical},
|
||||
{"fooltrader", "pipeline-live", "pybacktest"},
|
||||
{entry["project"] for entry in historical}, expected_projects
|
||||
)
|
||||
self.assertTrue(all("Historical" in entry["languages"] for entry in historical))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user