search for: 7ff51f0

Displaying 2 results from an estimated 2 matches for "7ff51f0".

Did you mean: 7ff314f0
2016 Feb 22
0
[PATCH 3/3] python: tests: fix long/int mismatch in test090RetValues.py
...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_helper import * class Test090PythonRetValues (unittest.TestCase): @@ -33,7 +34,7 @@ class Test090PythonRetValues (unittest.TestCase): def...
2016 Feb 22
3
[PATCH 1/3] python: tests: refactor to use unittest's discovery
...ef test_release (self): + self.assertIsInstance (self.version['release'], cl) + + def test_extra (self): + self.assertIsInstance (self.version['extra'], str) diff --git a/python/t/test090RetValues.py b/python/t/test090RetValues.py new file mode 100644 index 0000000..7ff51f0 --- /dev/null +++ b/python/t/test090RetValues.py @@ -0,0 +1,134 @@ +# libguestfs Python bindings +# Copyright (C) 2013-2016 Red Hat Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Sof...