Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ntrrgc committed Apr 14, 2015
1 parent 31f008b commit 6d8dacb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion snorky/tests/test_datasync_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def test_authorize_subscription_bad_format(self):
"foo": "bar",
"query": "meow",
}])
self.assertEqual(msg, "Missing field")
self.assertIn("Missing field", msg)

def test_authorize_subscription_unknown_dealer(self):
msg = self.rpcExpectError(self.backend, None,
Expand Down
2 changes: 1 addition & 1 deletion snorky/tests/test_rpc.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# -*- encoding: UTF-8 -*-
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

# -*- encoding: UTF-8 -*-
from snorky.client import Client
from snorky.services.base import RPCService, RPCError, format_call
from snorky.tests.utils.rpc import RPCTestMixin
Expand Down

0 comments on commit 6d8dacb

Please sign in to comment.