Prepare Docker build context
This commit is contained in:
@@ -15,6 +15,8 @@ coverage.xml
|
||||
.env
|
||||
.git/
|
||||
.vscode/
|
||||
.deploy_tmp/
|
||||
.deploy_*
|
||||
|
||||
*.egg-info/
|
||||
dist/
|
||||
|
||||
@@ -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 playwright-stealth
|
||||
|
||||
# Ставим Chromium и Firefox.
|
||||
# По умолчанию используем Chromium.
|
||||
RUN python -m playwright install chromium firefox
|
||||
|
||||
COPY . .
|
||||
|
||||
@@ -81,7 +81,6 @@ class TestMobileDeEnrichment(unittest.TestCase):
|
||||
self.assertGreaterEqual(selector_kwargs["stale_before"], before)
|
||||
self.assertLessEqual(selector_kwargs["stale_before"], after)
|
||||
self.assertEqual(scraper.sync_detail.call_count, 2)
|
||||
# Two heartbeat refreshes plus owner-safe release.
|
||||
self.assertGreaterEqual(redis_client.eval.call_count, 3)
|
||||
|
||||
def test_task_stops_when_enrichment_lock_ownership_is_lost(self) -> None:
|
||||
|
||||
Reference in New Issue
Block a user