mirror of
https://github.com/YunoHost-Apps/django_example_ynh.git
synced 2024-09-03 18:26:21 +02:00
fix version test
This commit is contained in:
parent
27b88e6d77
commit
37087da1a3
1 changed files with 1 additions and 5 deletions
|
@ -30,11 +30,7 @@ def test_version(package_root=None, version=None):
|
||||||
assert_file_contains_string(file_path=Path(package_root, 'README.md'), string=version_string)
|
assert_file_contains_string(file_path=Path(package_root, 'README.md'), string=version_string)
|
||||||
|
|
||||||
assert_file_contains_string(file_path=Path(package_root, 'pyproject.toml'), string=f'version = "{version}"')
|
assert_file_contains_string(file_path=Path(package_root, 'pyproject.toml'), string=f'version = "{version}"')
|
||||||
assert_file_contains_string(file_path=Path(package_root, 'manifest.json'), string=f'"version": "{version}~ynh",')
|
assert_file_contains_string(file_path=Path(package_root, 'manifest.json'), string=f'"version": "{version}~ynh')
|
||||||
|
|
||||||
assert_file_contains_string(
|
|
||||||
file_path=Path(package_root, 'deployment', 'project.env'), string=f'PROJECT_VERSION={version}'
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
def test_poetry_check(package_root=None):
|
def test_poetry_check(package_root=None):
|
||||||
|
|
Loading…
Reference in a new issue