'When libtorrent is not enabled, an exception should be thrown when getting the libtorrent instance.'

@raises(OperationNotEnabledByConfigurationException)
def test_get_libtorrent_process_not_enabled(self):

    self.session.config.get_libtorrent_enabled = (lambda : False)
    self.session.get_libtorrent_process()
