Skip to content

Commit 7b827e8

Browse files
authored
Create test_mimimal.py
1 parent db3bd3f commit 7b827e8

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

tests/test_mimimal.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
"""
2+
Minimal test file for initial CI setup
3+
"""
4+
def test_basic():
5+
"""Always passes"""
6+
assert 1 + 1 == 2
7+
8+
def test_import():
9+
"""Test if we can import (won't fail if not)"""
10+
try:
11+
import sys
12+
sys.path.insert(0, 'src')
13+
# Try to import, but don't fail if it doesn't exist yet
14+
import truthprobe_v3
15+
return True
16+
except ImportError:
17+
# Expected on first run
18+
return True
19+
EOF

0 commit comments

Comments
 (0)