aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_nexus_client.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tests: repair the two seams the ida-nexus port left behindblasty9 days1-0/+60
| | | | | | | | | | | | | | | Two scenario monkeypatch sites still hooked client.invoke -- the rename to call() updated the call sites but not the patches, so reprime_is_free and split_view crashed instead of counting. call() takes the remote_ops declaration itself now, so both count by its __name__. remote_ops imported RemoteModule inside _bindings(), which made test_nexus_client (NEEDS_IDA = False) unrunnable under a stdlib-only python3 -- the house rule tests/run.py --fast depends on. The import moves to the same eagerly-if-present, bound-to-None-so-patchable contract nexus_client uses, and the test injects FakeRemoteModule/FakeRemoteError exactly like its other fakes: real names when the library is installed, strict fakes when it is not.
* Switch to ida-nexusDuncan Ogilvie10 days1-0/+440