Files
profilarr/tests/regex.py
wheat4714 22e8068f27 Improvement/QxR Overhaul (#57)
- Included all member names as QxR tag is not always present for grabs or imports
- Added x265 conditions to avoid any x264 releases
- Added h265 condition to avoid encodes mislabeled as WEBs
- Negate releases from UTR. Some of these QxR members have moved back and forth, and can be lower quality
- Removed old Tigole and Ghost CFs
- Negate HONE releases
- Lowered QxR quality score to below other tier 3 groups. Too many unparsed extras and other complications.

Co-authored-by: wheat4714.usedwhensimpleloginisbanned@gmail.com <wheat4714.usedwhensimpleloginisbanned@gmail.com>
Co-authored-by: santiagosayshey <sayheysantiago@proton.me>
2024-05-13 04:09:59 +09:30

47 lines
1.4 KiB
Python

import sys
from roku import roku
from h265verify import h265
from qxr import qxr
from utr import utr
# ... import other test functions
# ANSI escape codes for colors
BLUE = '\033[94m'
GREEN = '\033[92m'
RED = '\033[91m'
YELLOW = '\033[93m'
RESET = '\033[0m'
def run_tests():
tests = [
("ROKU", roku),
("h265 Verified Groups", h265),
("QxR Groups", qxr),
("UTR Groups", utr)
# ... add other test functions
]
for test_name, test_func in tests:
print(f"{BLUE}=============================================={RESET}")
print(f"{BLUE}Running test: {test_name}{RESET}")
print(f"{BLUE}=============================================={RESET}\n")
test_result = test_func(debug_level=1)
if test_result:
print()
print(f"{GREEN}=============================================={RESET}")
print(f"{GREEN}Passed Test: {test_name}{RESET}")
print(f"{GREEN}=============================================={RESET}\n")
continue
else:
print()
print(f"{RED}=============================================={RESET}")
print(f"{RED}Failed Test: {test_name}{RESET}")
print(f"{RED}=============================================={RESET}\n")
sys.exit(1)
if __name__ == "__main__":
run_tests()