Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
LilDojd committed Nov 16, 2024
1 parent 71f1146 commit 80332c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alchemiscale/storage/statestore.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"""

import abc
from datetime import UTC, datetime
from datetime import datetime
from contextlib import contextmanager
import json
from functools import lru_cache
Expand Down Expand Up @@ -1795,7 +1795,7 @@ def task_count(task_dict: dict):
tx.run(
CLAIM_QUERY,
tasks_list=[str(task) for task in tasks if task is not None],
datetimestr=datetime.now(UTC).isoformat(),
datetimestr=str(datetime.utcnow().isoformat()),
compute_service_id=str(compute_service_id),
)

Expand Down

0 comments on commit 80332c0

Please sign in to comment.