From dd18056047b4bf4ba76492036002f992276e42d8 Mon Sep 17 00:00:00 2001 From: freearhey <7253922+freearhey@users.noreply.github.com> Date: Fri, 13 Feb 2026 12:51:11 +0300 Subject: [PATCH] Update tests/__data__ --- .../__data__/expected/guides_update/GUIDES.md | 13 ++++++++ .../__data__/input/guides_update/channels.xml | 4 +++ tests/__data__/input/guides_update/guide.xml | 30 +++++++++++++++++++ .../__data__/input/guides_update/worker.json | 4 +++ .../__data__/input/guides_update/workers.txt | 2 ++ 5 files changed, 53 insertions(+) create mode 100644 tests/__data__/expected/guides_update/GUIDES.md create mode 100644 tests/__data__/input/guides_update/channels.xml create mode 100644 tests/__data__/input/guides_update/guide.xml create mode 100644 tests/__data__/input/guides_update/worker.json create mode 100644 tests/__data__/input/guides_update/workers.txt diff --git a/tests/__data__/expected/guides_update/GUIDES.md b/tests/__data__/expected/guides_update/GUIDES.md new file mode 100644 index 00000000..f6e86cfc --- /dev/null +++ b/tests/__data__/expected/guides_update/GUIDES.md @@ -0,0 +1,13 @@ +# Guides + + + + + + + + + +
HostStatusChannelsLast UpdatedLinks
example.com🔴0-
worker-9dd4.onrender.com🟢1a day agochannels.xml
guide.xml
+ +[How can I add my server to the list?](CONTRIBUTING.md#how-to-add-my-server-to-the-guides-md) diff --git a/tests/__data__/input/guides_update/channels.xml b/tests/__data__/input/guides_update/channels.xml new file mode 100644 index 00000000..46c1b2e9 --- /dev/null +++ b/tests/__data__/input/guides_update/channels.xml @@ -0,0 +1,4 @@ + + + ANT1 Europe + \ No newline at end of file diff --git a/tests/__data__/input/guides_update/guide.xml b/tests/__data__/input/guides_update/guide.xml new file mode 100644 index 00000000..ed17438e --- /dev/null +++ b/tests/__data__/input/guides_update/guide.xml @@ -0,0 +1,30 @@ + +ANT1 Europehttps://antennaeurope.gr +ΚΑΛΗΜΕΡΑ ΕΛΛΑΔΑ +ΤΟ ΠΡΩΙΝΟ +ANT1 NEWS +ΑΠΟΚΑΛΥΨΕΙΣ +ΡΟΥΚ ΖΟΥΚ +5 X 5 +ANT1 NEWS +ΠΟΙΟΣ ΘΕΛΕΙ ΝΑ ΓΙΝΕΙ ΕΚΑΤΟΜΜΥΡΙΟΥΧΟΣ +GRAND HOTEL +ΓΙΑΤΙ ΡΕ ΠΑΤΕΡΑ ; +THE ROADSHOW - BEST OF +ΕΝΩΠΙΟΣ ΕΝΩΠΙΩ +5 X 5 +ΤΟ ΠΡΩΙΝΟ +ΚΑΛΗΜΕΡΑ ΕΛΛΑΔΑ +ΤΟ ΠΡΩΙΝΟ +ANT1 NEWS +ΑΠΟΚΑΛΥΨΕΙΣ +ΡΟΥΚ ΖΟΥΚ +5 X 5 +ANT1 NEWS +ΠΟΙΟΣ ΘΕΛΕΙ ΝΑ ΓΙΝΕΙ ΕΚΑΤΟΜΜΥΡΙΟΥΧΟΣ +DON'T FORGET THE LYRICS +VIΠ +ΠΕΦΤΕΙ Η ΝΥΧΤΑ ΜΕ... ΡΥΘΜΟ +5 X 5 +ΤΟ ΠΡΩΙΝΟ + \ No newline at end of file diff --git a/tests/__data__/input/guides_update/worker.json b/tests/__data__/input/guides_update/worker.json new file mode 100644 index 00000000..371feec0 --- /dev/null +++ b/tests/__data__/input/guides_update/worker.json @@ -0,0 +1,4 @@ +{ + "channels": "channels.xml", + "guide": "guide.xml" +} \ No newline at end of file diff --git a/tests/__data__/input/guides_update/workers.txt b/tests/__data__/input/guides_update/workers.txt new file mode 100644 index 00000000..02ca158a --- /dev/null +++ b/tests/__data__/input/guides_update/workers.txt @@ -0,0 +1,2 @@ +example.com +worker-9dd4.onrender.com \ No newline at end of file