No affected flows when no files match.
(self)
| 448 | assert handler_node.id in affected_entries |
| 449 | |
| 450 | def test_get_affected_flows_empty(self): |
| 451 | """No affected flows when no files match.""" |
| 452 | self._add_func("ep") |
| 453 | self._add_func("callee") |
| 454 | self._add_call("app.py::ep", "app.py::callee") |
| 455 | |
| 456 | flows = trace_flows(self.store) |
| 457 | store_flows(self.store, flows) |
| 458 | |
| 459 | result = get_affected_flows(self.store, ["nonexistent.py"]) |
| 460 | assert result["total"] == 0 |
| 461 | assert result["affected_flows"] == [] |
| 462 | |
| 463 | def test_get_affected_flows_no_files(self): |
| 464 | """Empty changed_files list returns no results.""" |
nothing calls this directly
no test coverage detected