search for: test800explicitclose

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

2020 Jan 10
8
[PATCH 0/7] Various Python pycodestyle fixes
...| 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 +-- python/t/test910Libvirt.py | 1 - python/t/tests_helper.py.in | 2 +- python/test-pycodestyle.sh | 30 +++++++++++++++++++++++++++++ 21 files changed, 61 insertions(+), 23 deletions(-) create mode 100755 python...
2020 Jan 10
9
[PATCH v2 0/8] Various Python pycodestyle fixes
...| 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 +-- python/t/test910Libvirt.py | 1 - python/t/tests_helper.py.in | 2 +- python/test-pycodestyle.sh | 28 ++++++++++++++++++++++++++++ 22 files changed, 60 insertions(+), 24 deletions(-) create mode 100755 python/...
2016 May 04
9
[PATCH 0/8] python: PEP 8 fixes
...y | 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/test820RHBZ912499.py | 58 ++++++++-------- python/t/test910Libvirt.py | 17 ++--- python/t/tests_helper.py | 30 ++++---- tests/http/test-http.py | 143 +++++++++++++++++++------------------- 19...
2016 Feb 22
3
[PATCH 1/3] python: tests: refactor to use unittest's discovery
...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 | 37 +++++++++++ python/t/test820RHBZ912499.py | 94 ++++++++++++++++++++++++++ python/t/test910Libvirt.py | 42 ++++++++++++ python/t/tests_helper.py | 63 ++++++++++++++++++ 26 files changed, 653 insertions(+), 670 d...
2016 Feb 12
2
[PATCH] python: tests: use more targeted assert*() functions/checks
...f.assertNotEqual (log_invoked, 0) if __name__ == '__main__': unittest.main () diff --git a/python/t/800-explicit-close.py b/python/t/800-explicit-close.py index 9b425af..4086829 100644 --- a/python/t/800-explicit-close.py +++ b/python/t/800-explicit-close.py @@ -37,11 +37,7 @@ class Test800ExplicitClose (unittest.TestCase): # Expect an exception if we call a method on a closed handle. g = guestfs.GuestFS (python_return_dict=True) g.close () - try: - g.set_memsize (512) - raise Exception("expected an exception from previous statement&quot...
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 ...