

def test_wrong_repository_website_urls(self):
    test_host = Host.objects.all()[0]
    link = 'http://en.wikipedia.org/'
    event = Event.objects.create(slug='test-event', host=test_host, url=link)
    assert (event.repository_url == test_host)
    assert (event.website_url == link)

dataset/ETHPy150Open swcarpentry/amy/workshops/test/test_event.py TestEvent.test_wrong_repository_website_urls/VarMisuse@54/77 `link`->`test_host`