'Discovery routine must be executed only once. Upcoming calls should
fail'

def test_discover_runonce(self):

    url = URL('https://host.tld/')
    fuzz_req = FuzzableRequest(url)
    plugininst = hvshsdist.http_vs_https_dist()
    plugininst._has_permission = MagicMock(side_effect=[True, True])
    plugininst.discover(fuzz_req)
    self.assertRaises(RunOnce, plugininst.discover, fuzz_req)
