[#82] Mock tests for morley-client
Description
Add simple mock tests for existing morley-client
functionality (big map getter,
transaction sending and contract origination)
These tests substitute real RPC calls with some simple mock responses. These responses
in their turn ensure some predicates that checked in the real blockchain, e.g.
chain_id
, protocol name and contract counter matching. However, they don't perform
any signature checks, don't actually run contracts and affect their storages.
Related issue(s)
Resolves #82 (closed)
✅ Checklist for your Merge Request
Related changes (conditional)
-
Tests (see short guidelines)
-
If I added new functionality, I added tests covering it. -
If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
-
-
Documentation
Stylistic guide (mandatory)
-
My commits comply with the following policy. -
My code complies with the style guide.
Edited by Roman Melnikov