-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest_imports.py
More file actions
37 lines (32 loc) · 757 Bytes
/
Copy pathtest_imports.py
File metadata and controls
37 lines (32 loc) · 757 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/usr/bin/env python3
"""
Quick import test to verify the project structure.
"""
import sys
import os
sys.path.insert(0, os.path.dirname(__file__))
modules = [
"config",
"scrapers.base",
"scrapers.dorahacks",
"scrapers.ethglobal",
"scrapers.devpost",
"extractor.sections",
"extractor.normalize",
"ai.deepseek",
"storage.db",
"storage.models",
"reports.generator",
"pipeline.main",
"pipeline.scheduler",
"utils.logging_setup",
]
print("Testing imports...")
for module in modules:
try:
__import__(module)
print(f"[OK] {module}")
except Exception as e:
print(f"[FAIL] {module}: {e}")
sys.exit(1)
print("\nAll imports successful. Project structure is valid.")