search for: test090retvalues

Displaying 10 results from an estimated 10 matches for "test090retvalues".

2016 Feb 22
0
[PATCH 3/3] python: tests: fix long/int mismatch in test090RetValues.py
Cast the value to the "int_type" representing the "long" value for test_rint64, so the test works again with Python 3. --- python/t/test090RetValues.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/t/test090RetValues.py b/python/t/test090RetValues.py index 7ff51f0..24d97b4 100644 --- a/python/t/test090RetValues.py +++ b/python/t/test090RetValues.py @@ -19,6 +19,7 @@ import unittest import guestfs +from .tests_...
2020 Jan 10
8
[PATCH 0/7] Various Python pycodestyle fixes
...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/test430ProgressMessages.py | 3 ++- python/t/test800ExplicitClose.py | 1 - python/t/test820RHBZ912499.py | 3 +-- pyth...
2020 Jan 10
9
[PATCH v2 0/8] Various Python pycodestyle fixes
...| 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/test430ProgressMessages.py | 3 ++- python/t/test800ExplicitClose.py | 1 - python/t/test820RHBZ912499.py | 3 +-- pyth...
2016 May 04
9
[PATCH 0/8] python: PEP 8 fixes
...amples/create_disk.py | 36 +++++----- python/examples/inspect_vm.py | 42 +++++------ python/setup.py.in | 69 +++++++++--------- python/t/test010Load.py | 5 +- python/t/test070OptArgs.py | 23 +++--- python/t/test080Version.py | 25 +++---- python/t/test090RetValues.py | 142 ++++++++++++++++++------------------- python/t/test100Launch.py | 25 +++---- python/t/test410CloseEvent.py | 18 ++--- python/t/test420LogMessages.py | 30 ++++---- python/t/test800ExplicitClose.py | 30 ++++---- python/t/test810RHBZ811650.py | 17 ++--- python/t/...
2016 Feb 22
3
[PATCH 1/3] python: tests: refactor to use unittest's discovery
...| 118 --------------------------------- python/t/910-libvirt.py | 52 --------------- python/t/__init__.py | 0 python/t/test010Load.py | 22 +++++++ python/t/test070OptArgs.py | 36 ++++++++++ python/t/test080Version.py | 43 ++++++++++++ python/t/test090RetValues.py | 134 +++++++++++++++++++++++++++++++++++++ python/t/test100Launch.py | 34 ++++++++++ python/t/test410CloseEvent.py | 38 +++++++++++ python/t/test420LogMessages.py | 54 +++++++++++++++ python/t/test800ExplicitClose.py | 54 +++++++++++++++ python/t/test810RHBZ811650.py...
2016 Jun 07
0
[PATCH 2/2] ruby: tests: Give each test class and method a unique name.
...0_retvalues.rb b/ruby/t/tc_090_retvalues.rb index 1fcc12d..4bcc8b5 100644 --- a/ruby/t/tc_090_retvalues.rb +++ b/ruby/t/tc_090_retvalues.rb @@ -17,8 +17,8 @@ require File::join(File::dirname(__FILE__), 'test_helper') -class TestLoad < MiniTest::Unit::TestCase - def test_rint +class Test090RetValues < MiniTest::Unit::TestCase + def test_090_retvalues g = Guestfs::Guestfs.new() assert_equal 10, g.internal_test_rint("10") diff --git a/ruby/t/tc_100_launch.rb b/ruby/t/tc_100_launch.rb index b79b984..1f89023 100644 --- a/ruby/t/tc_100_launch.rb +++ b/ruby/t/tc_100_launch....
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
2017 May 09
1
[PATCH] RHBZ#1406906: check return value of Python object functions
Verify the returned values of Python Object constructor functions are not NULL before adding them to a collection. This is particularly relevant when constructing Unicode strings in Python 3 as they will return NULL if non UTF-8 characters are present. Signed-off-by: Matteo Cafasso <noxdafox@gmail.com> --- generator/python.ml | 102 ++++++++++++++++++++++++++---------------
2017 Jun 27
3
[PATCH] libvirt: disallow non-local connections (RHBZ#1347830)
If the connection is not local, paths of disks will refer to the remote host, which were mistakenly handled as local paths (in the best case failing to open a non-existing disk, and in the worst case opening a different disk!). In case the disks are remote resources like ssh or ceph, nothing guarantees that the hostname can be reached from the local machine, or even that it is actually the same on
2017 Jul 07
4
[PATCH v6 0/3] gobject: Remove gtk-doc (RHBZ#1465665).
Hopefully this time ...