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
20 changed files with 219 additions and 221 deletions

View file

@ -7,7 +7,7 @@ import factory
from factory import alchemy
from tests.db.fake_data.factories import utils
from urban_meal_delivery import db
from velofy import db
class AddressFactory(alchemy.SQLAlchemyModelFactory):

View file

@ -5,7 +5,7 @@ import factory
from factory import alchemy
from tests.db.fake_data.factories import utils
from urban_meal_delivery import db
from velofy import db
class CourierFactory(alchemy.SQLAlchemyModelFactory):

View file

@ -3,7 +3,7 @@
import factory
from factory import alchemy
from urban_meal_delivery import db
from velofy import db
class CustomerFactory(alchemy.SQLAlchemyModelFactory):

View file

@ -9,7 +9,7 @@ from geopy import distance
from tests import config as test_config
from tests.db.fake_data.factories import utils
from urban_meal_delivery import db
from velofy import db
class AdHocOrderFactory(alchemy.SQLAlchemyModelFactory):

View file

@ -6,7 +6,7 @@ import factory
from factory import alchemy
from tests.db.fake_data.factories import utils
from urban_meal_delivery import db
from velofy import db
class ReplayedOrderFactory(alchemy.SQLAlchemyModelFactory):

View file

@ -5,7 +5,7 @@ import faker
from factory import alchemy
from tests.db.fake_data.factories import utils
from urban_meal_delivery import db
from velofy import db
_restaurant_names = faker.Faker()

View file

@ -2,7 +2,7 @@
import pytest
from urban_meal_delivery import db
from velofy import db
@pytest.fixture

View file

@ -7,7 +7,7 @@ import sqlalchemy as sqla
from sqlalchemy import exc as sa_exc
from tests import config as test_config
from urban_meal_delivery import db
from velofy import db
class TestSpecialMethods:

View file

@ -4,8 +4,8 @@ import pytest
import sqlalchemy as sqla
from sqlalchemy import exc as sa_exc
from urban_meal_delivery import db
from urban_meal_delivery.db import utils
from velofy import db
from velofy.db import utils
class TestSpecialMethods:

View file

@ -8,8 +8,8 @@ import sqlalchemy as sqla
from geopy import distance
from sqlalchemy import exc as sa_exc
from urban_meal_delivery import db
from urban_meal_delivery.db import utils
from velofy import db
from velofy.db import utils
@pytest.fixture

View file

@ -3,7 +3,7 @@
Implementation notes:
The test suite has 100% coverage without the test cases in this module.
That is so as the `AddressPixelAssociation` model is imported into the
`urban_meal_delivery.db` namespace so that the `Address` and `Pixel` models
`velofy.db` namespace so that the `Address` and `Pixel` models
can find it upon initialization. Yet, none of the other unit tests run any
code associated with it. Therefore, we test it here as non-e2e tests and do
not measure its coverage.
@ -13,7 +13,7 @@ import pytest
import sqlalchemy as sqla
from sqlalchemy import exc as sa_exc
from urban_meal_delivery import db
from velofy import db
@pytest.fixture

View file

@ -2,8 +2,8 @@
import pytest
from urban_meal_delivery import db
from urban_meal_delivery.db import utils
from velofy import db
from velofy.db import utils
class TestSpecialMethods:

View file

@ -3,7 +3,7 @@
import pytest
from sqlalchemy import exc as sa_exc
from urban_meal_delivery import db
from velofy import db
class TestSpecialMethods:

View file

@ -2,7 +2,7 @@
import pytest
from urban_meal_delivery import db
from velofy import db
class TestSpecialMethods:

View file

@ -8,7 +8,7 @@ import sqlalchemy as sqla
from sqlalchemy import exc as sa_exc
from tests import config as test_config
from urban_meal_delivery import db
from velofy import db
MODEL = 'hets'

View file

@ -4,7 +4,7 @@ import pytest
import sqlalchemy as sqla
from sqlalchemy import exc as sa_exc
from urban_meal_delivery import db
from velofy import db
class TestSpecialMethods:

View file

@ -8,7 +8,7 @@ import sqlalchemy as sqla
from sqlalchemy import exc as sa_exc
from tests import config as test_config
from urban_meal_delivery import db
from velofy import db
class TestSpecialMethods:

View file

@ -4,7 +4,7 @@ import pytest
import sqlalchemy as sqla
from sqlalchemy import exc as sa_exc
from urban_meal_delivery import db
from velofy import db
class TestSpecialMethods:

View file

@ -4,7 +4,7 @@ import pytest
import sqlalchemy as sqla
from sqlalchemy import exc as sa_exc
from urban_meal_delivery import db
from velofy import db
class TestSpecialMethods:

View file

@ -2,7 +2,7 @@
import pytest
from urban_meal_delivery.db import utils
from velofy.db import utils
# All tests take place in Paris.