Rename the urban_meal_delivery package into velofy

This commit is contained in:
Alexander Hess 2026-11-23 18:06:53 +01:00
commit 4855209392
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -3,7 +3,7 @@
import click
import pytest
from urban_meal_delivery.console import main
from velofy.console import main
class TestShowVersion:
@ -34,7 +34,7 @@ class TestShowVersion:
def test_final_version(self, capsys, ctx, monkeypatch):
"""For final versions, NO "development" warning is emitted."""
version = '1.2.3'
monkeypatch.setattr(main.urban_meal_delivery, '__version__', version)
monkeypatch.setattr(main.velofy, '__version__', version)
with pytest.raises(click.exceptions.Exit):
main.show_version(ctx, _param='discarded', value=True)
@ -46,7 +46,7 @@ class TestShowVersion:
def test_develop_version(self, capsys, ctx, monkeypatch):
"""For develop versions, a warning thereof is emitted."""
version = '1.2.3.dev0'
monkeypatch.setattr(main.urban_meal_delivery, '__version__', version)
monkeypatch.setattr(main.velofy, '__version__', version)
with pytest.raises(click.exceptions.Exit):
main.show_version(ctx, _param='discarded', value=True)
@ -79,7 +79,7 @@ class TestCLIWithoutCommand:
def test_final_version(self, cli, monkeypatch, option):
"""For final versions, NO "development" warning is emitted."""
version = '1.2.3'
monkeypatch.setattr(main.urban_meal_delivery, '__version__', version)
monkeypatch.setattr(main.velofy, '__version__', version)
result = cli.invoke(main.entry_point, option)
@ -91,7 +91,7 @@ class TestCLIWithoutCommand:
def test_develop_version(self, cli, monkeypatch, option):
"""For develop versions, a warning thereof is emitted."""
version = '1.2.3.dev0'
monkeypatch.setattr(main.urban_meal_delivery, '__version__', version)
monkeypatch.setattr(main.velofy, '__version__', version)
result = cli.invoke(main.entry_point, option)