Skip to content

Commit

Permalink
Merge branch 'release/1.0.0' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvw committed Jan 11, 2025
2 parents 30b2e2a + e232020 commit 8215a63
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion edc_metadata/tests/tests/test_metadata_deleter.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
from datetime import datetime
from zoneinfo import ZoneInfo

from dateutil.relativedelta import relativedelta
from django.db.models import ProtectedError
from django.test import TestCase, override_settings
Expand All @@ -11,10 +14,11 @@
from edc_metadata.metadata import DeleteMetadataError
from edc_metadata.models import CrfMetadata, RequisitionMetadata

from ..constants import test_datetime
from ..models import CrfOne, SubjectRequisition
from .metadata_test_mixin import TestMetadataMixin

test_datetime = datetime(2019, 6, 11, 8, 00, tzinfo=ZoneInfo("UTC"))


@override_settings(
EDC_PROTOCOL_STUDY_OPEN_DATETIME=test_datetime - relativedelta(years=3),
Expand Down

0 comments on commit 8215a63

Please sign in to comment.