Compare commits

..

4 Commits

Author SHA1 Message Date
dgtlmoon
5290e3f1e1 testing content fetch 2026-03-27 11:42:10 +01:00
dgtlmoon
9509b020b2 oops 2026-03-27 11:39:42 +01:00
dgtlmoon
702835e21d better example 2026-03-27 11:36:50 +01:00
dgtlmoon
2cf2bb97a0 Extendable theme pluggy implementation Re #3835 2026-03-27 11:30:11 +01:00
2 changed files with 6 additions and 2 deletions

View File

@@ -99,7 +99,11 @@ jobs:
- name: Run Unit Tests
run: |
docker run test-changedetectionio bash -c 'cd changedetectionio;pytest tests/unit/'
docker run test-changedetectionio bash -c 'python3 -m unittest changedetectionio.tests.unit.test_notification_diff'
docker run test-changedetectionio bash -c 'python3 -m unittest changedetectionio.tests.unit.test_watch_model'
docker run test-changedetectionio bash -c 'python3 -m unittest changedetectionio.tests.unit.test_jinja2_security'
docker run test-changedetectionio bash -c 'python3 -m unittest changedetectionio.tests.unit.test_semver'
docker run test-changedetectionio bash -c 'python3 -m unittest changedetectionio.tests.unit.test_html_to_text'
# Basic pytest tests with ancillary services
basic-tests:

View File

@@ -64,7 +64,7 @@ class TestTriggerConditions(unittest.TestCase):
"conditions": [
{"operator": ">=", "field": "extracted_number", "value": "10"},
{"operator": "<=", "field": "extracted_number", "value": "5000"},
{"operator": "in", "field": "page_filtered_text", "value": "rock"},
{"operator": "in", "field": "page_text", "value": "rock"},
#{"operator": "starts_with", "field": "page_text", "value": "I saw"},
]
}