search for: test050handleproperti

Displaying 7 results from an estimated 7 matches for "test050handleproperti".

2019 Apr 24
0
[PATCH 3/3] python: silence usage of add_cdrom in test
One test explicitly tests add_cdrom, so silence the deprecation warning only for that function. --- python/t/test050HandleProperties.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python/t/test050HandleProperties.py b/python/t/test050HandleProperties.py index e2b12f1dc..59de8b806 100644 --- a/python/t/test050HandleProperties.py +++ b/python/t/test050HandleProperties.py @@ -16,6 +16,7 @@ # 51 Frankl...
2019 Apr 24
4
[PATCH 0/3] Few minor changes for bindings
*** BLURB HERE *** Pino Toscano (3): python: modernize inspect_vm example perl: silence usage of add_cdrom in test python: silence usage of add_cdrom in test perl/t/060-handle-properties.t | 7 +++++-- python/examples/inspect_vm.py | 26 ++++++++++++-------------- python/t/test050HandleProperties.py | 5 ++++- 3 files changed, 21 insertions(+), 17 deletions(-) -- 2.20.1
2019 Apr 03
1
[PATCH] Add missing python bindings tests
Signed-off-by: Hiroyuki Katsura <hiroyuki.katsura.0513@gmail.com> --- python/t/test020Create.py | 25 ++++++++++++++ python/t/test030CreateFlags.py | 27 +++++++++++++++ python/t/test040CreateMultiple.py | 32 ++++++++++++++++++ python/t/test050HandleProperties.py | 50 +++++++++++++++++++++++++++ python/t/test430ProgressMessages.py | 52 +++++++++++++++++++++++++++++ 5 files changed, 186 insertions(+) create mode 100644 python/t/test020Create.py create mode 100644 python/t/test030CreateFlags.py create mode 100644 python/t/test040CreateMultiple.py c...
2020 Jan 10
8
[PATCH 0/7] Various Python pycodestyle fixes
...| 5 ++--- m4/guestfs-python.m4 | 3 +++ python/Makefile.am | 5 +++++ python/examples/inspect_vm.py | 7 +++++-- python/t/test020Create.py | 1 + python/t/test030CreateFlags.py | 3 ++- python/t/test040CreateMultiple.py | 2 ++ python/t/test050HandleProperties.py | 1 + python/t/test070OptArgs.py | 1 - python/t/test080Version.py | 2 -- python/t/test090RetValues.py | 10 +++++----- python/t/test100Launch.py | 1 - python/t/test410CloseEvent.py | 1 - python/t/test420LogMessages.py | 1 - python/t/tes...
2020 Jan 10
9
[PATCH v2 0/8] Various Python pycodestyle fixes
...| 3 +++ python/Makefile.am | 5 +++++ python/examples/inspect_vm.py | 7 +++++-- python/setup.py.in | 2 +- python/t/test020Create.py | 1 + python/t/test030CreateFlags.py | 3 ++- python/t/test040CreateMultiple.py | 2 ++ python/t/test050HandleProperties.py | 1 + python/t/test070OptArgs.py | 1 - python/t/test080Version.py | 2 -- python/t/test090RetValues.py | 10 +++++----- python/t/test100Launch.py | 1 - python/t/test410CloseEvent.py | 1 - python/t/test420LogMessages.py | 1 - python/t/tes...
2016 Jun 07
0
[PATCH 2/2] ruby: tests: Give each test class and method a unique name.
..._properties.rb index bcf3406..d8fddb0 100644 --- a/ruby/t/tc_050_handle_properties.rb +++ b/ruby/t/tc_050_handle_properties.rb @@ -17,8 +17,8 @@ require File::join(File::dirname(__FILE__), 'test_helper') -class TestLoad < MiniTest::Unit::TestCase - def test_handle_properties +class Test050HandleProperties < MiniTest::Unit::TestCase + def test_050_handle_properties g = Guestfs::Guestfs.new() refute_nil (g) v = g.get_verbose() diff --git a/ruby/t/tc_060_explicit_close.rb b/ruby/t/tc_060_explicit_close.rb index a4effd5..37e09f4 100644 --- a/ruby/t/tc_060_explicit_close.rb +++ b/rub...
2016 Jun 07
3
[PATCH 1/2] ruby: Print exceptions thrown by event callbacks.
--- generator/ruby.ml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/generator/ruby.ml b/generator/ruby.ml index 97ccfdc..0f71ccc 100644 --- a/generator/ruby.ml +++ b/generator/ruby.ml @@ -404,15 +404,17 @@ event_callback_wrapper_wrapper (VALUE argvv) return Qnil; } +/* Callbacks aren't supposed to throw exceptions. We just print the + * exception on