mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 01:14:15 +02:00
- Native runtime under bearhub/ (api, commons, gems, view/util, view/core, view/qt) - bauh/ compatibility re-export shims for legacy imports - Phase D: canonical __version__/__app_name__ in bearhub/__init__.py; pyproject.toml and setup.py point at bearhub package - Native gem loader at bearhub/view/core/gems.py - Namespace compatibility tests (159 tests passing) - Documentation: CHANGELOG [Unreleased], NAMESPACE_MIGRATION, ROADMAP, README, CONTRIBUTING, docs/qt6-migration.md, packaging/aur/README.md
21 lines
668 B
Python
21 lines
668 B
Python
from unittest import TestCase
|
|
|
|
import bearhub
|
|
import bearhub.stylesheet
|
|
import bauh
|
|
|
|
|
|
class TestPhaseDVersionFlip(TestCase):
|
|
|
|
def test_version_canonical_in_bearhub(self):
|
|
self.assertEqual('0.10.7', bearhub.__version__)
|
|
self.assertEqual('bearhub', bearhub.__app_name__)
|
|
|
|
def test_bauh_shim_reexports_version(self):
|
|
self.assertEqual(bearhub.__version__, bauh.__version__)
|
|
self.assertEqual(bearhub.__app_name__, bauh.__app_name__)
|
|
|
|
def test_bauh_stylesheet_shim(self):
|
|
from bauh import stylesheet as legacy_stylesheet
|
|
|
|
self.assertIs(legacy_stylesheet.process_var_of_vars, bearhub.stylesheet.process_var_of_vars) |