Skip to content

Commit

Permalink
Update tests to reflect new module attaching method
Browse files Browse the repository at this point in the history
  • Loading branch information
kclowes committed Sep 27, 2019
1 parent a5ba6f6 commit b385c2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/core/method-class/test_result_formatters.py
Expand Up @@ -47,7 +47,7 @@ def make_request(method, params):
})


class TestModule(ModuleV2):
class ModuleForTest(ModuleV2):
method = test_method()


Expand All @@ -56,7 +56,7 @@ def dummy_w3():
w3 = Web3(
DummyProvider(),
middlewares=[result_middleware],
modules={'module': TestModule})
modules={"module": (ModuleForTest,)})
return w3


Expand Down

0 comments on commit b385c2c

Please sign in to comment.