(file: string)
| 65 | }); |
| 66 | |
| 67 | const callsFrom = (file: string) => { |
| 68 | const ids = cg.getNodesInFile(file).map((n) => n.id); |
| 69 | return cg.getOutgoingEdgesFrom(ids).filter((e) => e.kind === 'calls').map((e) => { |
| 70 | const t = cg.getNode(e.target)!; |
| 71 | return `${t.filePath}: ${t.qualifiedName}`; |
| 72 | }).sort(); |
| 73 | }; |
| 74 | |
| 75 | describe('bare Python calls to locally bound names', () => { |
| 76 | it('are the local value, not another file’s function of that name', () => { |
no test coverage detected