aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_nexus_client.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* reformat: ruff format + import sort, mechanically (see ruff.toml)blasty8 days1-7/+6
| | | | No behavior. Listed in .git-blame-ignore-revs (next commit).
* tests: repair the two seams the ida-nexus port left behindblasty8 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 Ogilvie8 days1-0/+440