'Test whether the delete_collected_torrent throws an exception if dispersy is not enabled.'

@raises(OperationNotEnabledByConfigurationException)
def test_delete_collected_torrent(self):

    self.session.config.get_torrent_store_enabled = (lambda : False)
    self.session.delete_collected_torrent(None)
