Skip to content

Commit

Permalink
black 2 files
Browse files Browse the repository at this point in the history
Signed-off-by: sklump <srklump@hotmail.com>
  • Loading branch information
sklump committed Apr 24, 2020
1 parent 71ad41d commit 6c45fbd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
10 changes: 2 additions & 8 deletions aries_cloudagent/ledger/tests/test_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ def setUp(self):
self.test_endpoint = "http://localhost:8021"

async def test_missing_ledger(self):
request = async_mock.MagicMock(
app=self.app,
)
request = async_mock.MagicMock(app=self.app,)
self.context.injector.clear_binding(BaseLedger)

with self.assertRaises(HTTPForbidden):
Expand Down Expand Up @@ -83,11 +81,7 @@ async def test_get_endpoint_no_did(self):
async def test_register_nym(self):
request = async_mock.MagicMock(
app=self.app,
query={
"did": self.test_did,
"verkey": self.test_verkey,
"role": "reset",
}
query={"did": self.test_did, "verkey": self.test_verkey, "role": "reset",},
)
with async_mock.patch.object(
test_module.web, "json_response", async_mock.Mock()
Expand Down
5 changes: 1 addition & 4 deletions aries_cloudagent/messaging/schemas/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,7 @@ class SchemaSchema(Schema):
description="Schema attribute names",
data_key="attrNames",
)
seqNo = fields.Int(
description="Schema sequence number",
**NATURAL_NUM
)
seqNo = fields.Int(description="Schema sequence number", **NATURAL_NUM)


class SchemaGetResultsSchema(Schema):
Expand Down

0 comments on commit 6c45fbd

Please sign in to comment.