feat: monorepo restructure and test/ci updates

- Add crewai workspace member
- Fix vcr cassette paths and restore test dirs
- Resolve ci failures and update linter/pytest rules
This commit is contained in:
Greyson LaLonde
2025-09-27 22:53:02 -04:00
committed by GitHub
parent 74b5c88834
commit 86f0dfc2d7
766 changed files with 937 additions and 959 deletions

View File

@@ -0,0 +1,17 @@
"""Test for version management."""
from crewai import __version__
from crewai.cli.version import get_crewai_version
def test_dynamic_versioning_consistency():
"""Test that dynamic versioning provides consistent version across all access methods."""
cli_version = get_crewai_version()
package_version = __version__
# Both should return the same version string
assert cli_version == package_version
# Version should not be empty
assert package_version is not None
assert len(package_version.strip()) > 0