Skip to content

Commit

Permalink
BE-1501: fixed tox
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaroslav committed Jul 14, 2021
1 parent 8e0986d commit 059dc83
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions livestyled/models/fulfilment_point.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
from typing import List

from livestyled.models.venue import Venue

from livestyled.models.audience import Audience
from livestyled.models.venue import Venue


class FulfilmentPointCategoryTranslation:
Expand Down
2 changes: 1 addition & 1 deletion livestyled/schemas/fulfilment_point.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from marshmallow import EXCLUDE, fields, Schema

from livestyled.schemas.audience import AudienceSchema
from livestyled.models.fulfilment_point import (
FulfilmentPoint,
FulfilmentPointCategory,
Expand All @@ -8,7 +9,6 @@
)
from livestyled.schemas.fields import RelatedResourceField, RelatedResourceLinkField
from livestyled.schemas.venue import VenueSchema
from livestyled.schemas.audience import AudienceSchema


class FulfilmentPointTranslationSchema(Schema):
Expand Down
3 changes: 1 addition & 2 deletions livestyled/tests/test_resource_client_fulfilment_points.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,4 @@ def test_get_fulfilment_points(requests_mock):
assert isinstance(fp.audiences[0], Audience)
assert isinstance(fp.audiences[1], Audience)
assert fp.audiences[0].id == 1
assert fp.audiences[1].id == 2

assert fp.audiences[1].id == 2

0 comments on commit 059dc83

Please sign in to comment.