(node_factory)
| 180 | |
| 181 | |
| 182 | def test_no_sources(node_factory): |
| 183 | opts = { |
| 184 | "currencyrate-disable-source": ALL_RESOURCES, |
| 185 | } |
| 186 | l1 = node_factory.get_node(options=opts) |
| 187 | |
| 188 | with pytest.raises( |
| 189 | RpcError, |
| 190 | match="Unknown command 'listcurrencyrates'", |
| 191 | ): |
| 192 | rates = l1.rpc.call("listcurrencyrates", ["USD"]) |
| 193 | LOGGER.info(rates) |
| 194 | |
| 195 | |
| 196 | def test_invalid_currency(node_factory): |