Remove duplicate update database body (#1584)

This commit is contained in:
red person
2026-06-03 02:57:03 +03:00
committed by GitHub
parent 15a3b71802
commit 953305a5af
2 changed files with 8 additions and 113 deletions

View File

@@ -0,0 +1,8 @@
from pathlib import Path
def test_update_database_has_single_main_guard():
script = Path(__file__).resolve().parent.parent / "scripts" / "update_database.py"
text = script.read_text()
assert text.count('if __name__ == "__main__":') == 1