David Núñez
|
920ae58bc3
|
Setting a free gas strategy in tests that create a new blockchain interface
|
2020-08-28 18:00:19 +02:00 |
David Núñez
|
3595f3dae6
|
Make restoration of default values conditional
|
2020-08-04 19:01:54 +02:00 |
David Núñez
|
460ce4cb08
|
Restore default return values in mock agents
Mock.reset_mock() doesn't do that by default so return values remained between test modules
|
2020-08-04 18:37:30 +02:00 |
vzotova
|
9897c0f93c
|
Fix agent mocking: use instance to hold mocked method instead of class
|
2020-06-25 20:08:27 +03:00 |
derekpierre
|
668f25bc38
|
Add pre-commit hook to ensure that AGPL license is included in python source files
|
2020-05-22 08:55:06 -04:00 |
Kieran Prasch
|
cf7cb682e0
|
RFCs for #1989; Transforms registry source manager into a formal context manager.
|
2020-05-21 18:54:40 -07:00 |
Kieran Prasch
|
f1b130afa1
|
Additional annotations and comments.
|
2020-05-21 16:01:26 -07:00 |
Kieran Prasch
|
4169dbb004
|
Implement Constant Sorrow for contract api method markers.
|
2020-05-21 15:39:01 -07:00 |
Kieran Prasch
|
9b9ddac234
|
Respond to RFCs in PR #1989
|
2020-05-21 14:56:45 -07:00 |
Kieran Prasch
|
87cc3b7767
|
Allow properties to be collected and handled in auto mocking.
|
2020-05-20 21:46:21 -07:00 |
Kieran Prasch
|
394332eef0
|
Clear side effects on agent mock by default
|
2020-05-20 21:45:05 -07:00 |
Kieran R. Prasch
|
5250305f4a
|
Ensure unifirm mock coverage of contracts in FT suite
|
2020-05-20 21:45:04 -07:00 |
Kieran Prasch
|
5bacc2f61c
|
Polish off condensed auto agent mocking and example implementation on worklock CLI FT
|
2020-05-20 21:44:05 -07:00 |
Kieran Prasch
|
7913427352
|
Condensed auto-mocking for agents.
|
2020-05-20 21:43:45 -07:00 |
Kieran Prasch
|
9b9efceee3
|
Proof of concept for metaprogramming apoproach to contract mocking.
|
2020-05-20 21:42:23 -07:00 |
Kieran Prasch
|
c8e37210fe
|
Iterating on spy wrapper and mock agents
|
2020-05-20 21:38:31 -07:00 |
Kieran R. Prasch
|
cc66d9310a
|
Test coverage and bug fixes for interactive client account selection with balances.
|
2020-05-20 21:36:25 -07:00 |
Kieran Prasch
|
a1113d2a20
|
Resolve two TODOs wrt staker methods and painting.
|
2020-05-20 21:33:01 -07:00 |
Kieran Prasch
|
713eab4854
|
Deeper integration of agents with the Mock API.
|
2020-05-20 21:32:59 -07:00 |
Kieran Prasch
|
61cdcb9dd7
|
Generate a Mock object for every transaction and call on mock agents.
|
2020-05-20 21:26:20 -07:00 |
Kieran Prasch
|
f263e4c2a0
|
Promote and clear constants modules;
Partly convert constants to Pathlib, Use safe mock IP address constants.
Accommodate more pathlib in tests
|
2020-05-15 08:36:11 -07:00 |
Kieran Prasch
|
3b4e9b47dc
|
Optimize imports for the entire codebase
|
2020-05-15 08:34:25 -07:00 |
Kieran Prasch
|
a935dc8e2d
|
Annihilate the sandbox
|
2020-05-15 08:33:38 -07:00 |
Kieran Prasch
|
bf75d33e3e
|
Respond to RFCs in PR #1949
|
2020-05-13 08:08:00 -07:00 |
Kieran R. Prasch
|
1164db20f4
|
Intro MockPolicyManagerAgent
|
2020-05-08 19:20:54 -07:00 |
Kieran Prasch
|
7f67226fe3
|
Detailing worklock functionality test assertions with new agent mocking API
|
2020-05-08 19:20:54 -07:00 |
Kieran Prasch
|
83d847c4ab
|
Tight spy based test on worklock bidding CLI
|
2020-05-08 19:20:54 -07:00 |
Kieran R. Prasch
|
c8bf00cd69
|
Spy on mocked transactions and calls through mock agents
|
2020-05-08 19:20:54 -07:00 |
Kieran R. Prasch
|
6aec7c634d
|
Mock at the ContractAgent level while preserving agent routing
|
2020-05-08 19:20:54 -07:00 |
Kieran Prasch
|
5c6f2a5e8c
|
Transaction and call mocking scheme implmentation
|
2020-05-08 19:20:54 -07:00 |
Kieran Prasch
|
570e656a17
|
Complete example of mocking at the agent layer
|
2020-05-08 19:20:54 -07:00 |
Kieran Prasch
|
0c2f684d71
|
Neat layout for agent mocking and cli unit testing
|
2020-05-08 19:20:54 -07:00 |