Skip to content

Commit

Permalink
FIX: Fixed tests for REST API
Browse files Browse the repository at this point in the history
  • Loading branch information
s-kostyuk committed May 19, 2018
1 parent 25602ab commit 130ee98
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tests/api/test_rest_api_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@

from dpl.api.rest_api.things_subapp import build_things_subapp
from dpl.api.rest_api.placements_subapp import build_placements_subapp
from dpl.api.rest_api.messages_subapp import build_messages_subapp
from dpl.api.rest_api.rest_api_provider import RestApiProvider


Expand Down Expand Up @@ -86,16 +85,11 @@ def setUp(self):
placement_service=self.placement_service,
additional_data=context_data
)
messages_subapp = build_messages_subapp(
thing_service=self.things_service,
additional_data=context_data
)

# create an instance of RestApi
self.rest_api_provider = RestApiProvider(
things=things_subapp,
placements=placements_subapp,
messages=messages_subapp,
auth_context=self.auth_context,
auth_service=self.auth_service,
loop=self.loop
Expand Down Expand Up @@ -131,7 +125,6 @@ def test_root(self):
test_response_body = {
"things": "/things/",
"auth": "/auth",
"messages": "/messages/",
"placements": "/placements/"
}

Expand Down

0 comments on commit 130ee98

Please sign in to comment.