

def test_add_conference_when_conference_already_exists(self):
    conf = ConferenceFactory()
    user = UserFactory()
    with assert_raises(RuntimeError):
        add_conference(conf.endpoint, name='SPSP', admins=[conf.username], active=True)

dataset/ETHPy150Open CenterForOpenScience/osf.io/scripts/add_conference.py TestAddConference.test_add_conference_when_conference_already_exists/VarMisuse@43/63 `user`->`conf`