`.nonce()` on two classes of one file, both reachable from run().
(tmp_path)
| 435 | |
| 436 | |
| 437 | def _same_file_twin_graph(tmp_path): |
| 438 | """`.nonce()` on two classes of one file, both reachable from run().""" |
| 439 | return _write_nodes(tmp_path, [ |
| 440 | ("src_x", "x.ts", "src/x.ts", "L1"), |
| 441 | ("src_x_run", "run()", "src/x.ts", "L3"), |
| 442 | ("src_x_alphaclient", "AlphaClient", "src/x.ts", "L5"), |
| 443 | ("src_x_alphaclient_nonce", ".nonce()", "src/x.ts", "L6"), |
| 444 | ("src_x_betaclient", "BetaClient", "src/x.ts", "L9"), |
| 445 | ("src_x_betaclient_nonce", ".nonce()", "src/x.ts", "L10"), |
| 446 | ], [ |
| 447 | ("src_x", "src_x_run", "contains"), |
| 448 | ("src_x_run", "src_x_alphaclient", "calls"), |
| 449 | ("src_x_run", "src_x_betaclient", "calls"), |
| 450 | ("src_x_alphaclient", "src_x_alphaclient_nonce", "method"), |
| 451 | ("src_x_betaclient", "src_x_betaclient_nonce", "method"), |
| 452 | ]) |
| 453 | |
| 454 | |
| 455 | @pytest.mark.parametrize("target", [".nonce()", "src/x.ts::.nonce()"]) |
no test coverage detected