def test_multiple_memberships(self):
        overlapping = Membership.objects.create(
            variant='partner',
            agreement_start=date(2015, 7, 1),
            agreement_end=date(2016, 6, 30),
            contribution_type='financial',
            workshops_without_admin_fee_per_year=10,
            self_organized_workshops_per_year=20,
            host=self.host_beta,
        )

        self.assertIn(self.current, self.host_beta.membership_set.all())
        self.assertIn(overlapping, self.host_beta.membership_set.all())
Usage: run [<port>]
dataset/ETHPy150Open swcarpentry/amy/workshops/test/test_membership.py/TestMembership.test_multiple_memberships--crossover with--dataset/ETHPy150Open longaccess/longaccess-client/lacli/server/__init__.py/LaServerCommand.do_run