Skip to content

Commit

Permalink
Merge branch 'release/0.3.32' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvw committed Jan 24, 2024
2 parents d968a6b + 4cff7c7 commit d851b60
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion edc_ltfu/tests/consents.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from edc_constants.constants import FEMALE, MALE
from edc_protocol import Protocol

v1_consent = ConsentDefinition(
consent_v1 = ConsentDefinition(
"edc_metadata.subjectconsent",
version="1",
start=Protocol().study_open_datetime,
Expand Down
6 changes: 3 additions & 3 deletions edc_ltfu/tests/tests/test_ltfu.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
from edc_action_item.models import ActionItem
from edc_adverse_event.constants import DEATH_REPORT_ACTION
from edc_appointment.tests.test_case_mixins import AppointmentTestCaseMixin
from edc_consent import site_consents
from edc_consent.site_consents import site_consents
from edc_constants.constants import CLOSED, HOSPITALIZED, OTHER, YES
from edc_facility.import_holidays import import_holidays
from edc_list_data import load_list_data
from edc_metadata.tests.consents import consent_v1
from edc_metadata.tests.models import SubjectConsent
from edc_metadata.tests.visit_schedule import visit_schedule
from edc_offstudy.action_items import EndOfStudyAction as BaseEndOfStudyAction
Expand All @@ -21,7 +22,6 @@
from edc_ltfu.models import Ltfu

from ...utils import get_ltfu_model_cls, get_ltfu_model_name
from ..consents import v1_consent

list_data = {
"edc_metadata.subjectvisitmissedreasons": [
Expand All @@ -40,7 +40,7 @@
class TestLtfu(AppointmentTestCaseMixin, TestCase):
@classmethod
def setUpTestData(cls):
site_consents.register(v1_consent)
site_consents.register(consent_v1)
import_holidays()

def setUp(self):
Expand Down

0 comments on commit d851b60

Please sign in to comment.