search for: c37abac

Displaying 2 results from an estimated 2 matches for "c37abac".

2016 Feb 12
2
[PATCH] python: tests: use more targeted assert*() functions/checks
...- except guestfs.ClosedHandle: - pass + self.assertRaises (guestfs.ClosedHandle, g.set_memsize, 512) del g # Verify that the handle is really being closed by g.close, by diff --git a/python/t/810-rhbz811650.py b/python/t/810-rhbz811650.py index c812c30..c37abac 100644 --- a/python/t/810-rhbz811650.py +++ b/python/t/810-rhbz811650.py @@ -31,10 +31,7 @@ class Test810RHBZ811650 (unittest.TestCase): # Because error() wasn't being called, guestfs_last_error # would return NULL, causing a segfault in the Python bindings # (RHBZ#81...
2016 Feb 22
3
[PATCH 1/3] python: tests: refactor to use unittest's discovery
..._invoked, 0) - g.close () - self.assertEqual (close_invoked, 1) - - del g - self.assertEqual (close_invoked, 1) - -if __name__ == '__main__': - unittest.main () diff --git a/python/t/810-rhbz811650.py b/python/t/810-rhbz811650.py deleted file mode 100644 index c37abac..0000000 --- a/python/t/810-rhbz811650.py +++ /dev/null @@ -1,40 +0,0 @@ -# libguestfs Python bindings -# Copyright (C) 2012 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 So...