Skip to content

Commit

Permalink
remove refs to model wrappers
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvw committed Jan 25, 2024
1 parent 614aba7 commit 257e5ef
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions edc_locator/tests/test_view_mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@
from edc_locator.view_mixins import SubjectLocatorViewMixin


class DummyModelWrapper:
def __init__(self, **kwargs):
pass


class TestViewMixins(TestCase):
def setUp(self):
self.user = get_user_for_tests()
Expand All @@ -30,7 +25,6 @@ def test_subject_locator_raises_on_bad_model(self):
class MySubjectLocatorViewMixin(
SiteViewMixin, SubjectLocatorViewMixin, RegisteredSubjectViewMixin, ContextMixin
):
subject_locator_model_wrapper_cls = DummyModelWrapper
subject_locator_model = "blah.blahblah"

mixin = MySubjectLocatorViewMixin()
Expand All @@ -43,7 +37,6 @@ def test_mixin_messages(self):
class MySubjectLocatorViewMixin(
SiteViewMixin, SubjectLocatorViewMixin, RegisteredSubjectViewMixin, ContextMixin
):
subject_locator_model_wrapper_cls = DummyModelWrapper
subject_locator_model = "edc_locator.subjectlocator"

mixin = MySubjectLocatorViewMixin()
Expand All @@ -70,7 +63,6 @@ def test_subject_locator_self_corrects_if_multiple_actionitems(self):
class MySubjectLocatorViewMixin(
SiteViewMixin, SubjectLocatorViewMixin, RegisteredSubjectViewMixin, ContextMixin
):
subject_locator_model_wrapper_cls = DummyModelWrapper
subject_locator_model = "edc_locator.subjectlocator"

mixin = MySubjectLocatorViewMixin()
Expand Down

0 comments on commit 257e5ef

Please sign in to comment.