Prepare Docker build context

This commit is contained in:
qananasikq
2026-08-18 14:05:00 +03:00
parent da89304d38
commit a19a2009ed
3 changed files with 2 additions and 3 deletions
+2
View File
@@ -15,6 +15,8 @@ coverage.xml
.env .env
.git/ .git/
.vscode/ .vscode/
.deploy_tmp/
.deploy_*
*.egg-info/ *.egg-info/
dist/ dist/
-2
View File
@@ -13,8 +13,6 @@ RUN pip install --no-cache-dir uv \
&& pip install --no-cache-dir -r /tmp/requirements.txt \ && pip install --no-cache-dir -r /tmp/requirements.txt \
&& pip install --no-cache-dir playwright-stealth && pip install --no-cache-dir playwright-stealth
# Ставим Chromium и Firefox.
# По умолчанию используем Chromium.
RUN python -m playwright install chromium firefox RUN python -m playwright install chromium firefox
COPY . . COPY . .
-1
View File
@@ -81,7 +81,6 @@ class TestMobileDeEnrichment(unittest.TestCase):
self.assertGreaterEqual(selector_kwargs["stale_before"], before) self.assertGreaterEqual(selector_kwargs["stale_before"], before)
self.assertLessEqual(selector_kwargs["stale_before"], after) self.assertLessEqual(selector_kwargs["stale_before"], after)
self.assertEqual(scraper.sync_detail.call_count, 2) self.assertEqual(scraper.sync_detail.call_count, 2)
# Two heartbeat refreshes plus owner-safe release.
self.assertGreaterEqual(redis_client.eval.call_count, 3) self.assertGreaterEqual(redis_client.eval.call_count, 3)
def test_task_stops_when_enrichment_lock_ownership_is_lost(self) -> None: def test_task_stops_when_enrichment_lock_ownership_is_lost(self) -> None: