mirror of
https://github.com/hanzoai/sdk.git
synced 2026-11-02 10:34:12 +00:00
- Add build:cli script to copy CLI to dist/ - Create test directories with basic passing tests - Add integration and cross-language test placeholders - Make Rust builds/tests non-fatal with fallback - Add postinstall script for optional Rust compilation - Ensure all test paths are correct
21 lines
422 B
Python
21 lines
422 B
Python
"""Basic tests for Hanzo Python SDK."""
|
|
|
|
import pytest
|
|
import sys
|
|
import os
|
|
|
|
# Add src/py to path
|
|
sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..', '..', 'src', 'py'))
|
|
|
|
|
|
def test_import():
|
|
"""Test that we can import hanzo module."""
|
|
import hanzo
|
|
assert hanzo.__version__
|
|
|
|
|
|
def test_cli_import():
|
|
"""Test that we can import CLI module."""
|
|
from hanzo import cli
|
|
assert cli is not None
|