From 195b52284ab442794d41073bb59261d0d109b317 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Fri, 14 Feb 2025 17:44:14 +0100 Subject: [PATCH] [tests] move 'e621:frontend' tests into regular results/e621.py having both e621.py and E621.py in the same directory messes with Windows https://github.com/mikf/gallery-dl/commit/6e919a36952a91fde78400cc018836be6819ce9c#commitcomment-152557303 --- test/results/E621.py | 25 ------------------------- test/results/e621.py | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 25 deletions(-) delete mode 100644 test/results/E621.py diff --git a/test/results/E621.py b/test/results/E621.py deleted file mode 100644 index dc86c4fb..00000000 --- a/test/results/E621.py +++ /dev/null @@ -1,25 +0,0 @@ -# -*- coding: utf-8 -*- - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License version 2 as -# published by the Free Software Foundation. - -from gallery_dl.extractor import e621 - - -__tests__ = ( -{ - "#url" : "https://e621.cc/?tags=rating:safe", - "#category": ("E621", "e621", "frontend"), - "#class" : e621.E621FrontendExtractor, - "#urls" : "https://e621.net/posts?tags=rating:safe", -}, - -{ - "#url" : "https://e621.anthro.fr/?q=rating:safe", - "#category": ("E621", "e621", "frontend"), - "#class" : e621.E621FrontendExtractor, - "#urls" : "https://e621.net/posts?tags=rating:safe", -}, - -) diff --git a/test/results/e621.py b/test/results/e621.py index b6d9add1..3e51f169 100644 --- a/test/results/e621.py +++ b/test/results/e621.py @@ -147,4 +147,18 @@ __tests__ = ( "#count" : "> 260", }, +{ + "#url" : "https://e621.cc/?tags=rating:safe", + "#category": ("E621", "e621", "frontend"), + "#class" : e621.E621FrontendExtractor, + "#urls" : "https://e621.net/posts?tags=rating:safe", +}, + +{ + "#url" : "https://e621.anthro.fr/?q=rating:safe", + "#category": ("E621", "e621", "frontend"), + "#class" : e621.E621FrontendExtractor, + "#urls" : "https://e621.net/posts?tags=rating:safe", +}, + )