(node_factory, executor, bitcoind)
| 2838 | |
| 2839 | |
| 2840 | def test_unicode_rpc(node_factory, executor, bitcoind): |
| 2841 | node = node_factory.get_node() |
| 2842 | desc = "Some candy 🍬 and a nice glass of milk 🥛." |
| 2843 | |
| 2844 | node.rpc.invoice(amount_msat=42, label=desc, description=desc) |
| 2845 | invoices = node.rpc.listinvoices()['invoices'] |
| 2846 | assert(len(invoices) == 1) |
| 2847 | assert(invoices[0]['description'] == desc) |
| 2848 | assert(invoices[0]['label'] == desc) |
| 2849 | |
| 2850 | |
| 2851 | @unittest.skipIf(VALGRIND, "Testing pyln doesn't exercise anything interesting in the c code.") |
nothing calls this directly
no test coverage detected