Skip to content

Commit

Permalink
test setup
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvw committed Dec 12, 2023
1 parent db28a06 commit 05d502d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions edc_adverse_event/tests/tests/test_ae_and_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
from edc_list_data.site_list_data import site_list_data
from edc_ltfu.constants import LOST_TO_FOLLOWUP
from edc_registration.models import RegisteredSubject
from edc_registration.utils import RegisteredSubjectDoesNotExist
from edc_reportable import GRADE5
from edc_sites.valid_site_for_subject_or_raise import InvalidSubjectError
from edc_utils import get_utcnow
from edc_visit_schedule.utils import OnScheduleError
from model_bakery import baker
Expand Down Expand Up @@ -53,7 +53,7 @@ def test_subject_identifier(self):
)

self.assertRaises(
InvalidSubjectError,
RegisteredSubjectDoesNotExist,
baker.make_recipe,
"adverse_event_app.aeinitial",
subject_identifier="blahblah",
Expand Down
1 change: 1 addition & 0 deletions runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
EDC_NAVBAR_VERIFY_ON_LOAD=IGNORE,
EDC_AUTH_SKIP_SITE_AUTHS=True,
EDC_AUTH_SKIP_AUTH_UPDATER=True,
EDC_SITES_REGISTER_DEFAULT=True,
INSTALLED_APPS=[
"django.contrib.admin",
"django.contrib.auth",
Expand Down

0 comments on commit 05d502d

Please sign in to comment.