Fix nightly tests (#632)

This commit is contained in:
Tessa Walsh 2023-02-23 13:57:22 -05:00 committed by GitHub
parent e8b835df34
commit 1b1bc10c60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -56,7 +56,7 @@ def test_crawlconfig_crawl_stats(admin_auth_headers, default_org_id, crawl_confi
data = r.json()
assert data["crawlAttemptCount"] == 2
assert data["crawlCount"] == 1
assert data["lastCrawlId"] == first_crawl_id
assert data["lastCrawlId"] == crawl_id
assert data["lastCrawlState"] == "complete"
assert data["lastCrawlTime"] == first_crawl_finished

View File

@ -1,4 +1,5 @@
import requests
import time
from .conftest import API_PREFIX