Skip to content

Commit

Permalink
Fixes to pass tox -e check
Browse files Browse the repository at this point in the history
  • Loading branch information
subhashb committed Apr 30, 2019
1 parent 6a6c1f8 commit 02eefca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tests/core/test_viewset.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Module to test Viewset functionality and features"""
import pytest
import json

import pytest
from tests.support.sample_app import app
from tests.support.sample_app.entities import Dog
from tests.support.sample_app.entities import Human
Expand Down
9 changes: 4 additions & 5 deletions tests/support/sample_app/blueprint.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
""" Blueprints of the sample app"""
from flask import Blueprint

from protean_flask import Protean
from protean_flask.core.views import ShowAPIResource
from protean_flask.core.viewsets import GenericAPIResourceSet

from tests.support.sample_app.entities import Dog
from tests.support.sample_app.entities import Human
from tests.support.sample_app.serializers import DogSerializer
from tests.support.sample_app.serializers import HumanSerializer
from tests.support.sample_app.usecases import ListMyDogsRequestObject
from tests.support.sample_app.usecases import ListMyDogsUsecase

from protean_flask import Protean
from protean_flask.core.views import ShowAPIResource
from protean_flask.core.viewsets import GenericAPIResourceSet

blueprint = Blueprint('test_blueprint', __name__)
api_bp = Protean(blueprint)

Expand Down

0 comments on commit 02eefca

Please sign in to comment.