mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-23 23:49:47 +08:00
22 lines
585 B
Python
22 lines
585 B
Python
# Released under the MIT License. See LICENSE for details.
|
|
#
|
|
"""Testing asset manager functionality."""
|
|
|
|
from __future__ import annotations
|
|
|
|
import pytest
|
|
|
|
from batools import apprun
|
|
|
|
|
|
@pytest.mark.skipif(
|
|
apprun.test_runs_disabled(), reason=apprun.test_runs_disabled_reason()
|
|
)
|
|
def test_imports() -> None:
|
|
"""Test imports for our featureset."""
|
|
|
|
# Make sure our package and binary module can be cleanly imported by
|
|
# themselves.
|
|
apprun.python_command('import babase', purpose='import testing')
|
|
apprun.python_command('import _babase', purpose='import testing')
|