Displaying 2 results from an estimated 2 matches for "event_test".
Did you mean:
_vnt_test
2015 Jul 24
0
libvirt events and Ruby's EventMachine
Hello,
I'm trying to adopt the Ruby event example from here
https://www.libvirt.org/ruby/examples/event_test.rb to use EventMachine (a
library for writing event driven programs).
I have attached my attempt, which appears subscribe to events but never
executes the callbacks I provide. I know this because when I reset domains
(virsh reset VM) I see messages appear from the
Handlers::notify_readable(), whic...
2005 Dec 14
0
One of my attributes is nil, but it shouldn''t be
..."name"=>nil, "timexstring"=>"",
"description"=>nil}, @new_record=true>
>> e.timexstring.nil?
=> false
def test_append_timex
e = Event.new
assert !e.timexstring.nil?
end
1) Failure:
test_append_timex(EventTest) [test/unit/event_test.rb:39]:
<false> is not true.