alef 0.23.74

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{#- Python smoke test template

   Context variables:
   - header: file header comment
   - pip_name: pip package name to import (e.g., "sample_pkg")
#}
{{ header }}"""Smoke test: import the published package."""

import importlib


def test_imports_published_package():
    module = importlib.import_module("{{ pip_name }}")
    assert module is not None