Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.3.0: pytest is failing #352

Open
kloczek opened this issue Jun 16, 2022 · 9 comments
Open

2.3.0: pytest is failing #352

kloczek opened this issue Jun 16, 2022 · 9 comments

Comments

@kloczek
Copy link

kloczek commented Jun 16, 2022

I'm trying to package your module as an rpm package. So I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account.

  • python3 -sBm build -w --no-isolation
  • because I'm calling build with --no-isolation I'm using during all processes only locally installed modules
  • install .whl file in </install/prefix>
  • run pytest with PYTHONPATH pointing to sitearch and sitelib inside </install/prefix>
@kloczek
Copy link
Author

kloczek commented Jun 16, 2022

Here is pytest output:

+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages
+ xvfb-run -s '-screen 0 640x480x8 -extension RANDR' /usr/bin/pytest -ra tests
==================================================================== test session starts =====================================================================
platform linux -- Python 3.8.13, pytest-7.1.2, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/blivet-gui-2.3.0
collected 103 items

tests/blivetgui_tests/add_dialog_test.py ..........FFFFFFFFFFFFFFFFFFFFFFF                                                                             [ 32%]
tests/blivetgui_tests/client_test.py ..                                                                                                                [ 33%]
tests/blivetgui_tests/edit_dialog_test.py FF                                                                                                           [ 35%]
tests/blivetgui_tests/list_actions_test.py ....                                                                                                        [ 39%]
tests/blivetgui_tests/list_partitions_test.py FFF                                                                                                      [ 42%]
tests/blivetgui_tests/proxy_test.py ..                                                                                                                 [ 44%]
tests/blivetgui_tests/server_test.py ........                                                                                                          [ 52%]
tests/blivetgui_tests/size_widgets_test.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFF                                                                               [ 80%]
tests/blivetgui_tests/utils_test.py .....                                                                                                              [ 85%]
tests/blivetgui_tests/widgets_test.py FFFFFF                                                                                                           [ 91%]
tests/blivetutils_tests/test_10_disks.py sss                                                                                                           [ 94%]
tests/blivetutils_tests/test_20_partitioning.py ssssss                                                                                                 [100%]

========================================================================== FAILURES ==========================================================================
__________________________________________________________ AddDialogTest.test_allowed_device_types ___________________________________________________________

self = <blivetgui_tests.add_dialog_test.AddDialogTest testMethod=test_allowed_device_types>

    def test_allowed_device_types(self):
        # disk with disklabel and enough free space, other disks available
        parent_device = self._get_parent_device()
        free_device = self._get_free_device(parent=parent_device)

>       add_dialog = AddDialog(self.parent_window, parent_device, free_device,
                               [("free", free_device), ("free", self._get_free_device())],
                               self.supported_filesystems, [])

tests/blivetgui_tests/add_dialog_test.py:277:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/add_dialog.py:306: in __init__
    self._encryption_chooser = EncryptionChooser()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:242: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'encryption_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file encryption_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
______________________________________________________________ AddDialogTest.test_btrfs_parents ______________________________________________________________

self = <blivetgui_tests.add_dialog_test.AddDialogTest testMethod=test_btrfs_parents>

    def test_btrfs_parents(self):
        parent_device = self._get_parent_device()
        free_device = self._get_free_device(parent=parent_device)

>       add_dialog = AddDialog(self.parent_window, parent_device, free_device,
                               [("free", free_device), ("free", self._get_free_device(size=Size("200 MiB"))), ("free", self._get_free_device(size=Size("4 GiB")))],
                               self.supported_filesystems, [])

tests/blivetgui_tests/add_dialog_test.py:447:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/add_dialog.py:306: in __init__
    self._encryption_chooser = EncryptionChooser()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:242: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'encryption_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file encryption_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
_____________________________________________________________ AddDialogTest.test_btrfs_selection _____________________________________________________________

self = <blivetgui_tests.add_dialog_test.AddDialogTest testMethod=test_btrfs_selection>

    def test_btrfs_selection(self):
        parent_device = self._get_parent_device()
        free_device = self._get_free_device(parent=parent_device, size=Size("8 GiB"), is_free_region=False,
                                            is_empty_disk=True)

>       add_dialog = AddDialog(self.parent_window, parent_device, free_device,
                               [("free", free_device)], self.supported_filesystems, [])

tests/blivetgui_tests/add_dialog_test.py:795:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/add_dialog.py:306: in __init__
    self._encryption_chooser = EncryptionChooser()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:242: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'encryption_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file encryption_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
___________________________________________________________ AddDialogTest.test_btrfsvolume_widgets ___________________________________________________________

self = <blivetgui_tests.add_dialog_test.AddDialogTest testMethod=test_btrfsvolume_widgets>

    def test_btrfsvolume_widgets(self):
        parent_device = self._get_parent_device()
        free_device = self._get_free_device(parent=parent_device)

>       add_dialog = AddDialog(self.parent_window, parent_device, free_device,
                               [("free", free_device)], self.supported_filesystems, [])

tests/blivetgui_tests/add_dialog_test.py:361:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/add_dialog.py:306: in __init__
    self._encryption_chooser = EncryptionChooser()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:242: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'encryption_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file encryption_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
_______________________________________________________________ AddDialogTest.test_fs_chooser ________________________________________________________________

self = <blivetgui_tests.add_dialog_test.AddDialogTest testMethod=test_fs_chooser>

    def test_fs_chooser(self):
        parent_device = self._get_parent_device()
        free_device = self._get_free_device(parent=parent_device)

>       add_dialog = AddDialog(self.parent_window, parent_device, free_device,
                               [("free", free_device)], self.supported_filesystems,
                               [], True)  # with installer_mode=True

tests/blivetgui_tests/add_dialog_test.py:508:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/add_dialog.py:306: in __init__
    self._encryption_chooser = EncryptionChooser()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:242: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'encryption_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file encryption_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
___________________________________________________________ AddDialogTest.test_fs_chooser_biosboot ___________________________________________________________

self = <blivetgui_tests.add_dialog_test.AddDialogTest testMethod=test_fs_chooser_biosboot>

    def test_fs_chooser_biosboot(self):
        parent_device = self._get_parent_device()
        free_device = self._get_free_device(parent=parent_device)

        _filesystems = self.supported_filesystems[:]
        _filesystems.append(formats.biosboot.BIOSBoot())
        _filesystems.append(formats.fs.BTRFS())

>       add_dialog = AddDialog(self.parent_window, parent_device, free_device,
                               [("free", free_device)], _filesystems,
                               [], True)  # with installer_mode=True

tests/blivetgui_tests/add_dialog_test.py:538:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/add_dialog.py:306: in __init__
    self._encryption_chooser = EncryptionChooser()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:242: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'encryption_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file encryption_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
__________________________________________________________ AddDialogTest.test_label_validity_check ___________________________________________________________

self = <blivetgui_tests.add_dialog_test.AddDialogTest testMethod=test_label_validity_check>

    @patch("blivetgui.dialogs.message_dialogs.ErrorDialog", error_dialog)
    def test_label_validity_check(self):
        parent_device = self._get_parent_device()
        free_device = self._get_free_device(parent=parent_device)

>       add_dialog = AddDialog(self.parent_window, parent_device, free_device,
                               [("free", free_device)], self.supported_filesystems, [])

tests/blivetgui_tests/add_dialog_test.py:646:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/add_dialog.py:306: in __init__
    self._encryption_chooser = EncryptionChooser()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:242: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'encryption_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file encryption_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
_______________________________________________________________ AddDialogTest.test_lvm_parents _______________________________________________________________

self = <blivetgui_tests.add_dialog_test.AddDialogTest testMethod=test_lvm_parents>

    def test_lvm_parents(self):
        parent_device = self._get_parent_device()
        free_device = self._get_free_device(parent=parent_device)

>       add_dialog = AddDialog(self.parent_window, parent_device, free_device,
                               [("free", free_device), ("free", self._get_free_device(size=Size("4 GiB"))), ("free", self._get_free_device(size=Size("4 GiB")))],
                               self.supported_filesystems, [])

tests/blivetgui_tests/add_dialog_test.py:413:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/add_dialog.py:306: in __init__
    self._encryption_chooser = EncryptionChooser()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:242: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'encryption_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file encryption_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
______________________________________________________________ AddDialogTest.test_lvm_selection ______________________________________________________________

self = <blivetgui_tests.add_dialog_test.AddDialogTest testMethod=test_lvm_selection>

    def test_lvm_selection(self):
        parent_device1 = self._get_parent_device()
        parent_device2 = self._get_parent_device()
        free_device1 = self._get_free_device(parent=parent_device1)
        free_device2 = self._get_free_device(parent=parent_device2)

>       add_dialog = AddDialog(self.parent_window, parent_device1, free_device1,
                               [("free", free_device1), ("free", free_device2)],
                               self.supported_filesystems, [], True)

tests/blivetgui_tests/add_dialog_test.py:710:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/add_dialog.py:306: in __init__
    self._encryption_chooser = EncryptionChooser()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:242: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'encryption_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file encryption_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
_______________________________________________________________ AddDialogTest.test_lvm_widgets _______________________________________________________________

self = <blivetgui_tests.add_dialog_test.AddDialogTest testMethod=test_lvm_widgets>

    def test_lvm_widgets(self):
        parent_device = self._get_parent_device()
        free_device = self._get_free_device(parent=parent_device)

>       add_dialog = AddDialog(self.parent_window, parent_device, free_device,
                               [("free", free_device)], self.supported_filesystems, [])

tests/blivetgui_tests/add_dialog_test.py:343:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/add_dialog.py:306: in __init__
    self._encryption_chooser = EncryptionChooser()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:242: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'encryption_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file encryption_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
______________________________________________________________ AddDialogTest.test_lvmlv_parents ______________________________________________________________

self = <blivetgui_tests.add_dialog_test.AddDialogTest testMethod=test_lvmlv_parents>

    def test_lvmlv_parents(self):
        parent_device = self._get_parent_device(dtype="lvmvg", ftype=None)
        free_device = self._get_free_device(parent=parent_device)

>       add_dialog = AddDialog(self.parent_window, parent_device, free_device,
                               [("free", free_device), ("free", self._get_free_device()), ("free", self._get_free_device())],
                               self.supported_filesystems, [])

tests/blivetgui_tests/add_dialog_test.py:430:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/add_dialog.py:306: in __init__
    self._encryption_chooser = EncryptionChooser()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:242: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'encryption_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file encryption_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
______________________________________________________________ AddDialogTest.test_md_selection _______________________________________________________________

self = <blivetgui_tests.add_dialog_test.AddDialogTest testMethod=test_md_selection>

    def test_md_selection(self):
        parent_device1 = self._get_parent_device()
        parent_device2 = self._get_parent_device()
        free_device1 = self._get_free_device(parent=parent_device1)
        free_device2 = self._get_free_device(parent=parent_device2)

>       add_dialog = AddDialog(self.parent_window, parent_device1, free_device1,
                               [("free", free_device1), ("free", free_device2)],
                               self.supported_filesystems, [], True)

tests/blivetgui_tests/add_dialog_test.py:746:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/add_dialog.py:306: in __init__
    self._encryption_chooser = EncryptionChooser()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:242: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'encryption_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file encryption_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
_________________________________________________________________ AddDialogTest.test_md_type _________________________________________________________________

self = <blivetgui_tests.add_dialog_test.AddDialogTest testMethod=test_md_type>

    def test_md_type(self):
        parent_device = self._get_parent_device()
        free_device = self._get_free_device(parent=parent_device)

>       add_dialog = AddDialog(self.parent_window, parent_device, free_device,
                               [("free", free_device), ("free", self._get_free_device())],
                               self.supported_filesystems, [])

tests/blivetgui_tests/add_dialog_test.py:556:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/add_dialog.py:306: in __init__
    self._encryption_chooser = EncryptionChooser()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:242: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'encryption_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file encryption_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
_____________________________________________________________ AddDialogTest.test_mdraid_widgets ______________________________________________________________

self = <blivetgui_tests.add_dialog_test.AddDialogTest testMethod=test_mdraid_widgets>

    def test_mdraid_widgets(self):
        parent_device = self._get_parent_device()
        free_device = self._get_free_device(parent=parent_device)

>       add_dialog = AddDialog(self.parent_window, parent_device, free_device,
                               [("free", free_device), ("free", self._get_free_device())],
                               self.supported_filesystems, [])

tests/blivetgui_tests/add_dialog_test.py:379:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/add_dialog.py:306: in __init__
    self._encryption_chooser = EncryptionChooser()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:242: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'encryption_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file encryption_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
________________________________________________________ AddDialogTest.test_mountpoint_validity_check ________________________________________________________

self = <blivetgui_tests.add_dialog_test.AddDialogTest testMethod=test_mountpoint_validity_check>

    @patch("blivetgui.dialogs.message_dialogs.ErrorDialog", error_dialog)
    def test_mountpoint_validity_check(self):
        parent_device = self._get_parent_device()
        free_device = self._get_free_device(parent=parent_device)

>       add_dialog = AddDialog(self.parent_window, parent_device, free_device,
                               [("free", free_device)], self.supported_filesystems, ["/root"], True)

tests/blivetgui_tests/add_dialog_test.py:591:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/add_dialog.py:306: in __init__
    self._encryption_chooser = EncryptionChooser()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:242: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'encryption_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file encryption_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
___________________________________________________________ AddDialogTest.test_name_validity_check ___________________________________________________________

self = <blivetgui_tests.add_dialog_test.AddDialogTest testMethod=test_name_validity_check>

    @patch("blivetgui.dialogs.message_dialogs.ErrorDialog", error_dialog)
    def test_name_validity_check(self):
        parent_device = self._get_parent_device()
        free_device = self._get_free_device(parent=parent_device)

>       add_dialog = AddDialog(self.parent_window, parent_device, free_device,
                               [("free", free_device)], self.supported_filesystems, [])

tests/blivetgui_tests/add_dialog_test.py:622:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/add_dialog.py:306: in __init__
    self._encryption_chooser = EncryptionChooser()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:242: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'encryption_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file encryption_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
_________________________________________________________ AddDialogTest.test_parents_max_size_limit __________________________________________________________

self = <blivetgui_tests.add_dialog_test.AddDialogTest testMethod=test_parents_max_size_limit>

    def test_parents_max_size_limit(self):
        parent_device1 = self._get_parent_device(size=Size("8 TiB"))
        free_device1 = self._get_free_device(parent=parent_device1, size=parent_device1.size)

        # simple case -- partition
>       add_dialog = AddDialog(self.parent_window, parent_device1, free_device1,
                               [("free", free_device1)], self.supported_filesystems, [], True)

tests/blivetgui_tests/add_dialog_test.py:823:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/add_dialog.py:306: in __init__
    self._encryption_chooser = EncryptionChooser()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:242: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'encryption_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file encryption_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
____________________________________________________________ AddDialogTest.test_parents_selection ____________________________________________________________

self = <blivetgui_tests.add_dialog_test.AddDialogTest testMethod=test_parents_selection>

    def test_parents_selection(self):
        parent_device = self._get_parent_device()
        free_device = self._get_free_device(parent=parent_device)

>       add_dialog = AddDialog(self.parent_window, parent_device, free_device,
                               [("free", free_device), ("free", self._get_free_device()), ("free", self._get_free_device())],
                               self.supported_filesystems, [])

tests/blivetgui_tests/add_dialog_test.py:479:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/add_dialog.py:306: in __init__
    self._encryption_chooser = EncryptionChooser()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:242: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'encryption_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file encryption_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
_____________________________________________________________ AddDialogTest.test_parents_update ______________________________________________________________

self = <blivetgui_tests.add_dialog_test.AddDialogTest testMethod=test_parents_update>

    def test_parents_update(self):
        parent_device = self._get_parent_device()
        free_device = self._get_free_device(parent=parent_device)

>       add_dialog = AddDialog(self.parent_window, parent_device, free_device,
                               [("free", free_device), ("free", self._get_free_device()), ("free", self._get_free_device())],
                               self.supported_filesystems, [])

tests/blivetgui_tests/add_dialog_test.py:463:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/add_dialog.py:306: in __init__
    self._encryption_chooser = EncryptionChooser()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:242: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'encryption_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file encryption_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
____________________________________________________________ AddDialogTest.test_partition_parents ____________________________________________________________

self = <blivetgui_tests.add_dialog_test.AddDialogTest testMethod=test_partition_parents>

    def test_partition_parents(self):
        parent_device = self._get_parent_device()
        free_device = self._get_free_device(parent=parent_device)

>       add_dialog = AddDialog(self.parent_window, parent_device, free_device,
                               [("free", free_device), ("free", self._get_free_device()), ("free", self._get_free_device())],
                               self.supported_filesystems, [])

tests/blivetgui_tests/add_dialog_test.py:396:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/add_dialog.py:306: in __init__
    self._encryption_chooser = EncryptionChooser()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:242: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'encryption_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file encryption_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
___________________________________________________________ AddDialogTest.test_partition_selection ___________________________________________________________

self = <blivetgui_tests.add_dialog_test.AddDialogTest testMethod=test_partition_selection>

    def test_partition_selection(self):
        parent_device = self._get_parent_device()
        free_device = self._get_free_device(parent=parent_device)

>       add_dialog = AddDialog(self.parent_window, parent_device, free_device,
                               [("free", free_device)], self.supported_filesystems, [], True)

tests/blivetgui_tests/add_dialog_test.py:670:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/add_dialog.py:306: in __init__
    self._encryption_chooser = EncryptionChooser()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:242: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'encryption_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file encryption_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
____________________________________________________________ AddDialogTest.test_partition_widgets ____________________________________________________________

self = <blivetgui_tests.add_dialog_test.AddDialogTest testMethod=test_partition_widgets>

    def test_partition_widgets(self):
        parent_device = self._get_parent_device()
        free_device = self._get_free_device(parent=parent_device)

>       add_dialog = AddDialog(self.parent_window, parent_device, free_device,
                               [("free", free_device)], self.supported_filesystems, [])

tests/blivetgui_tests/add_dialog_test.py:325:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/add_dialog.py:306: in __init__
    self._encryption_chooser = EncryptionChooser()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:242: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'encryption_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file encryption_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
________________________________________________________________ AddDialogTest.test_raid_type ________________________________________________________________

self = <blivetgui_tests.add_dialog_test.AddDialogTest testMethod=test_raid_type>

    def test_raid_type(self):
        parent_device = self._get_parent_device()
        free_device = self._get_free_device(parent=parent_device, size=Size("8 GiB"))

>       add_dialog = AddDialog(self.parent_window, parent_device, free_device,
                               [("free", free_device), ("free", self._get_free_device(size=Size("4 GiB")))],
                               self.supported_filesystems, [])

tests/blivetgui_tests/add_dialog_test.py:570:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/add_dialog.py:306: in __init__
    self._encryption_chooser = EncryptionChooser()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:242: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'encryption_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file encryption_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
________________________________________________________________ FormatDialogTest.test_basic _________________________________________________________________

self = <blivetgui_tests.edit_dialog_test.FormatDialogTest testMethod=test_basic>

    def test_basic(self):

        dev = MagicMock(size=Size("1 GiB"), format=MagicMock(mountpoint=None))
>       dialog = FormatDialog(self.parent_window, dev, self.supported_filesystems, [], False)

tests/blivetgui_tests/edit_dialog_test.py:32:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/edit_dialog.py:146: in __init__
    self.builder.add_from_file(locate_ui_file("format_dialog.ui"))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'format_dialog.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file format_dialog.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
______________________________________________________________ FormatDialogTest.test_installer _______________________________________________________________

self = <blivetgui_tests.edit_dialog_test.FormatDialogTest testMethod=test_installer>

    @patch("blivetgui.dialogs.message_dialogs.ErrorDialog", error_dialog)
    def test_installer(self):
        dev = MagicMock(size=Size("1 GiB"), format=MagicMock(mountpoint=None))

>       dialog = FormatDialog(self.parent_window, dev, self.supported_filesystems, [], True)

tests/blivetgui_tests/edit_dialog_test.py:68:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/edit_dialog.py:146: in __init__
    self.builder.add_from_file(locate_ui_file("format_dialog.ui"))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'format_dialog.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file format_dialog.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
____________________________________________________________ ListPartitionsTest.test_add_to_store ____________________________________________________________

self = <blivetgui_tests.list_partitions_test.ListPartitionsTest testMethod=test_add_to_store>

    def setUp(self):

        _builder = Gtk.Builder()
>       _builder.add_from_file(locate_ui_file("blivet-gui.ui"))

tests/blivetgui_tests/list_partitions_test.py:25:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'blivet-gui.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file blivet-gui.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
_____________________________________________________________ ListPartitionsTest.test_allow_add ______________________________________________________________

self = <blivetgui_tests.list_partitions_test.ListPartitionsTest testMethod=test_allow_add>

    def setUp(self):

        _builder = Gtk.Builder()
>       _builder.add_from_file(locate_ui_file("blivet-gui.ui"))

tests/blivetgui_tests/list_partitions_test.py:25:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'blivet-gui.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file blivet-gui.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
____________________________________________________________ ListPartitionsTest.test_allow_delete ____________________________________________________________

self = <blivetgui_tests.list_partitions_test.ListPartitionsTest testMethod=test_allow_delete>

    def setUp(self):

        _builder = Gtk.Builder()
>       _builder.add_from_file(locate_ui_file("blivet-gui.ui"))

tests/blivetgui_tests/list_partitions_test.py:25:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'blivet-gui.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file blivet-gui.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
_________________________________________________________________ SizeAreaTest.test_10_basic _________________________________________________________________

self = <blivetgui_tests.size_widgets_test.SizeAreaTest testMethod=test_10_basic>

    def test_10_basic(self):
        """ Test basic SizeArea functionality """

        parents = [MagicMock(device=self._mock_device(), min_size=Size("1 MiB"), max_size=Size("1 GiB"),
                             reserved_size=Size(0))]

        # -- Partition -> no advanced selection
>       size_area = SizeArea(device_type="partition", parents=parents,
                             min_limit=Size("1 MiB"), max_limit=Size("1 GiB"),
                             raid_type=None)

tests/blivetgui_tests/size_widgets_test.py:32:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/size_chooser.py:79: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'size_area.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file size_area.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
___________________________________________________________ SizeAreaTest.test_20_advanced_allowed ____________________________________________________________

self = <blivetgui_tests.size_widgets_test.SizeAreaTest testMethod=test_20_advanced_allowed>

    def test_20_advanced_allowed(self):
        """ Test SizeArea functionality with ParentArea allowed """

        # -- Btrfs volume, no raid -> advanced allowed
        parents = [MagicMock(device=self._mock_device(), min_size=Size("1 MiB"), max_size=Size("1 GiB"),
                             reserved_size=Size(0)),
                   MagicMock(device=self._mock_device(), min_size=Size("1 MiB"), max_size=Size("1 GiB"),
                             reserved_size=Size(0))]

>       size_area = SizeArea(device_type="btrfs volume", parents=parents,
                             min_limit=Size("1 MiB"), max_limit=Size("1 GiB"),
                             raid_type=Single)

tests/blivetgui_tests/size_widgets_test.py:67:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/size_chooser.py:79: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'size_area.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file size_area.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
___________________________________________________________ SizeAreaTest.test_30_advanced_enforced ___________________________________________________________

self = <blivetgui_tests.size_widgets_test.SizeAreaTest testMethod=test_30_advanced_enforced>

    def test_30_advanced_enforced(self):
        """ Test SizeArea functionality with ParentArea enforced """

        # -- MDRAID, raid1 -> advanced enforced
        parents = [MagicMock(device=self._mock_device(), min_size=Size("1 MiB"), max_size=Size("1 GiB"),
                             reserved_size=Size(0)),
                   MagicMock(device=self._mock_device(), min_size=Size("1 MiB"), max_size=Size("1 GiB"),
                             reserved_size=Size(0))]

>       size_area = SizeArea(device_type="mdraid", parents=parents,
                             min_limit=Size("1 MiB"), max_limit=Size("1 GiB"),
                             raid_type=RAID1)

tests/blivetgui_tests/size_widgets_test.py:126:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/size_chooser.py:79: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'size_area.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file size_area.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
_____________________________________________________________ SizeAreaTest.test_40_basic_limits ______________________________________________________________

self = <blivetgui_tests.size_widgets_test.SizeAreaTest testMethod=test_40_basic_limits>

    def test_40_basic_limits(self):
        """ Test SizeArea limits functionality without ParentArea """

        parents = [MagicMock(device=self._mock_device(), min_size=Size("1 MiB"), max_size=Size("1 GiB"),
                             reserved_size=Size(0)),
                   MagicMock(device=self._mock_device(), min_size=Size("1 MiB"), max_size=Size("1 GiB"),
                             reserved_size=Size(0))]

>       size_area = SizeArea(device_type="lvm", parents=parents,
                             min_limit=Size(1), max_limit=Size("200 GiB"),
                             raid_type=None)

tests/blivetgui_tests/size_widgets_test.py:163:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/size_chooser.py:79: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'size_area.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file size_area.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
_________________________________________________________ SizeAreaTest.test_45_basic_limits_combined _________________________________________________________

self = <blivetgui_tests.size_widgets_test.SizeAreaTest testMethod=test_45_basic_limits_combined>

    def test_45_basic_limits_combined(self):
        """ Test SizeArea limits functionality without ParentArea """

        parents = [MagicMock(device=self._mock_device(), min_size=Size("1 MiB"), max_size=Size("1 GiB"),
                             reserved_size=Size(0)),
                   MagicMock(device=self._mock_device(), min_size=Size("1 MiB"), max_size=Size("1 GiB"),
                             reserved_size=Size(0))]

>       size_area = SizeArea(device_type="lvm", parents=parents,
                             min_limit=Size(1), max_limit=Size("200 GiB"),
                             raid_type=None)

tests/blivetgui_tests/size_widgets_test.py:236:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/size_chooser.py:79: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'size_area.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file size_area.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
____________________________________________________________ SizeAreaTest.test_50_advanced_limits ____________________________________________________________

self = <blivetgui_tests.size_widgets_test.SizeAreaTest testMethod=test_50_advanced_limits>

    def test_50_advanced_limits(self):
        """ Test SizeArea limits functionality with ParentArea """

        parents = [MagicMock(device=self._mock_device(), min_size=Size("1 MiB"), max_size=Size("1 GiB"),
                             reserved_size=Size(0)),
                   MagicMock(device=self._mock_device(), min_size=Size("1 MiB"), max_size=Size("1 GiB"),
                             reserved_size=Size(0))]

>       size_area = SizeArea(device_type="lvmlv", parents=parents,
                             min_limit=Size(1), max_limit=Size("200 GiB"),
                             raid_type=Linear)

tests/blivetgui_tests/size_widgets_test.py:272:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/size_chooser.py:79: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'size_area.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file size_area.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
_________________________________________________________ SizeAreaTest.test_50_advanced_limits_raid __________________________________________________________

self = <blivetgui_tests.size_widgets_test.SizeAreaTest testMethod=test_50_advanced_limits_raid>

    def test_50_advanced_limits_raid(self):
        """ Test SizeArea limits functionality with ParentArea with RAID """

        parents = [MagicMock(device=self._mock_device(), min_size=Size("1 MiB"), max_size=Size("1 GiB"),
                             reserved_size=Size(0)),
                   MagicMock(device=self._mock_device(), min_size=Size("1 MiB"), max_size=Size("1 GiB"),
                             reserved_size=Size(0))]

>       size_area = SizeArea(device_type="lvmlv", parents=parents,
                             min_limit=Size(1), max_limit=Size("200 GiB"),
                             raid_type=RAID1)

tests/blivetgui_tests/size_widgets_test.py:342:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/size_chooser.py:79: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'size_area.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file size_area.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
_____________________________________________________________ SizeAreaTest.test_60_reserved_size _____________________________________________________________

self = <blivetgui_tests.size_widgets_test.SizeAreaTest testMethod=test_60_reserved_size>

    def test_60_reserved_size(self):
        """ Test SizeArea reserved size functionality without ParentArea """

        parents = [MagicMock(device=self._mock_device(), min_size=Size("1 MiB"), max_size=Size("1 GiB"),
                             reserved_size=Size(0)),
                   MagicMock(device=self._mock_device(), min_size=Size("1 MiB"), max_size=Size("1 GiB"),
                             reserved_size=Size(0))]

>       size_area = SizeArea(device_type="lvm", parents=parents,
                             min_limit=Size(1), max_limit=Size("200 GiB"),
                             raid_type=None)

tests/blivetgui_tests/size_widgets_test.py:392:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/size_chooser.py:79: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'size_area.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file size_area.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
________________________________________________________ SizeAreaTest.test_60_reserved_size_advanced _________________________________________________________

self = <blivetgui_tests.size_widgets_test.SizeAreaTest testMethod=test_60_reserved_size_advanced>

    def test_60_reserved_size_advanced(self):
        """ Test SizeArea reserved size functionality with ParentArea """

        parents = [MagicMock(device=self._mock_device(), min_size=Size("1 MiB"), max_size=Size("1 GiB"),
                             reserved_size=Size(0)),
                   MagicMock(device=self._mock_device(), min_size=Size("1 MiB"), max_size=Size("1 GiB"),
                             reserved_size=Size(0))]

>       size_area = SizeArea(device_type="lvm", parents=parents,
                             min_limit=Size(1), max_limit=Size("200 GiB"),
                             raid_type=None)

tests/blivetgui_tests/size_widgets_test.py:422:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/size_chooser.py:79: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'size_area.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file size_area.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
___________________________________________________________ SizeAreaTest.test_70_parent_allocation ___________________________________________________________

self = <blivetgui_tests.size_widgets_test.SizeAreaTest testMethod=test_70_parent_allocation>

    def test_70_parent_allocation(self):
        """ Test allocating size on parents without ParentArea """

        # -- same size parents
        parents = [MagicMock(device=self._mock_device(), min_size=Size("1 MiB"), max_size=Size("1 GiB"),
                             reserved_size=Size(0)),
                   MagicMock(device=self._mock_device(), min_size=Size("1 MiB"), max_size=Size("1 GiB"),
                             reserved_size=Size(0))]

>       size_area = SizeArea(device_type="lvm", parents=parents,
                             min_limit=Size(1), max_limit=Size("200 GiB"),
                             raid_type=None)

tests/blivetgui_tests/size_widgets_test.py:468:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/size_chooser.py:79: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'size_area.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file size_area.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
________________________________________________________________ ParentAreaTest.test_10_basic ________________________________________________________________

self = <blivetgui_tests.size_widgets_test.ParentAreaTest testMethod=test_10_basic>

    def test_10_basic(self):
        """ Test basic ParentArea functionality """

        # -- MDRAID
        main_chooser = MagicMock()
        parents = [MagicMock(device=self._mock_device(), min_size=Size("1 MiB"), max_size=Size("1 GiB"),
                             reserved_size=Size(0)),
                   MagicMock(device=self._mock_device(), min_size=Size("1 MiB"), max_size=Size("1 GiB"),
                             reserved_size=Size(0))]

>       parent_area = ParentArea(device_type="mdraid", parents=parents, raid_type=RAID0,
                                 main_chooser=main_chooser)

tests/blivetgui_tests/size_widgets_test.py:597:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/size_chooser.py:343: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'parent_area.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file parent_area.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
__________________________________________________________ ParentAreaTest.test_20_parent_selection ___________________________________________________________

self = <blivetgui_tests.size_widgets_test.ParentAreaTest testMethod=test_20_parent_selection>

    def test_20_parent_selection(self):
        """ Test ParentArea functionality when (de)selecting some parents """

        main_chooser = MagicMock()
        parents = [MagicMock(device=self._mock_device(), min_size=Size("1 MiB"), max_size=Size("1 GiB"), reserved_size=Size(0)),
                   MagicMock(device=self._mock_device(), min_size=Size("1 MiB"), max_size=Size("1 GiB"), reserved_size=Size(0)),
                   MagicMock(device=self._mock_device(), min_size=Size("1 MiB"), max_size=Size("1 GiB"), reserved_size=Size(0))]

        # RAID LV is the only device type that allows changing parent selection
>       parent_area = ParentArea(device_type="lvmlv", parents=parents, raid_type=RAID0,
                                 main_chooser=main_chooser)

tests/blivetgui_tests/size_widgets_test.py:656:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/size_chooser.py:343: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'parent_area.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file parent_area.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
___________________________________________________________ ParentAreaTest.test_30_size_selection ____________________________________________________________

self = <blivetgui_tests.size_widgets_test.ParentAreaTest testMethod=test_30_size_selection>

    def test_30_size_selection(self):
        """ Test ParentArea functionality when changing size of some parents """

        main_chooser = MagicMock()
        parents = [MagicMock(device=self._mock_device(), min_size=Size("1 MiB"), max_size=Size("1 GiB"),
                             reserved_size=Size(0)),
                   MagicMock(device=self._mock_device(), min_size=Size("1 MiB"), max_size=Size("1 GiB"),
                             reserved_size=Size(0))]

>       parent_area = ParentArea(device_type="mdraid", parents=parents, raid_type=RAID0,
                                 main_chooser=main_chooser)

tests/blivetgui_tests/size_widgets_test.py:699:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/size_chooser.py:343: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'parent_area.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file parent_area.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
_____________________________________________________________ ParentAreaTest.test_40_main_update _____________________________________________________________

self = <blivetgui_tests.size_widgets_test.ParentAreaTest testMethod=test_40_main_update>

    def test_40_main_update(self):
        """ Test updating values of main chooser in SizeArea """

        # -- MDRAID
>       main_chooser = SizeChooser(max_size=Size("2 GiB"), min_size=Size("1 MiB"))

tests/blivetgui_tests/size_widgets_test.py:710:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/size_chooser.py:691: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'size_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file size_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
______________________________________________________________ ParentAreaTest.test_50_selected _______________________________________________________________

self = <blivetgui_tests.size_widgets_test.ParentAreaTest testMethod=test_50_selected>

    def test_50_selected(self):
        """ Test if widget returns what user selected """

        # -- MDRAID, simple selection, all parents, just size adjusted
        main_chooser = MagicMock()
        parents = [MagicMock(device=self._mock_device(), min_size=Size("1 MiB"), max_size=Size("1 GiB"),
                             reserved_size=Size(0)),
                   MagicMock(device=self._mock_device(), min_size=Size("1 MiB"), max_size=Size("1 GiB"),
                             reserved_size=Size(0))]

>       parent_area = ParentArea(device_type="mdraid", parents=parents, raid_type=RAID0,
                                 main_chooser=main_chooser)

tests/blivetgui_tests/size_widgets_test.py:755:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/size_chooser.py:343: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'parent_area.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file parent_area.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
______________________________________________________________ ParentChooserTest.test_10_basic _______________________________________________________________

self = <blivetgui_tests.size_widgets_test.ParentChooserTest testMethod=test_10_basic>

    def test_10_basic(self):
        """ Test basic ParentChooser functionality """
        parent = MagicMock()
        parent.configure_mock(name="vda")
        free = MagicMock()

>       chooser = ParentChooser(parent=parent, free_space=free,
                                min_size=Size("1 MiB"), max_size=Size("1 GiB"),
                                reserved_size=Size(0), selected=True, parent_selectable=False,
                                size_selectable=True)

tests/blivetgui_tests/size_widgets_test.py:813:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/size_chooser.py:549: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'parent_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file parent_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
____________________________________________________________ ParentChooserTest.test_20_selection _____________________________________________________________

self = <blivetgui_tests.size_widgets_test.ParentChooserTest testMethod=test_20_selection>

    def test_20_selection(self):
        """ Test (de)selecting parent """
        parent = MagicMock()
        parent.configure_mock(name="vda")
        free = MagicMock()

>       chooser = ParentChooser(parent=parent, free_space=free,
                                min_size=Size("1 MiB"), max_size=Size("1 GiB"),
                                reserved_size=Size(0), selected=True, parent_selectable=True,
                                size_selectable=True)

tests/blivetgui_tests/size_widgets_test.py:833:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/size_chooser.py:549: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'parent_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file parent_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
__________________________________________________________ ParentChooserTest.test_30_size_selection __________________________________________________________

self = <blivetgui_tests.size_widgets_test.ParentChooserTest testMethod=test_30_size_selection>

    def test_30_size_selection(self):
        """ Test chaning size selection """
        parent = MagicMock()
        parent.configure_mock(name="vda")
        free = MagicMock()

>       chooser = ParentChooser(parent=parent, free_space=free,
                                min_size=Size("1 MiB"), max_size=Size("1 GiB"),
                                reserved_size=Size(0), selected=True, parent_selectable=False,
                                size_selectable=True)

tests/blivetgui_tests/size_widgets_test.py:871:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/size_chooser.py:549: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'parent_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file parent_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
______________________________________________________________ ParentChooserTest.test_40_limits ______________________________________________________________

self = <blivetgui_tests.size_widgets_test.ParentChooserTest testMethod=test_40_limits>

    def test_40_limits(self):
        """ Test setting limits (min/max size) """
        parent = MagicMock()
        parent.configure_mock(name="vda")
        free = MagicMock()

>       chooser = ParentChooser(parent=parent, free_space=free,
                                min_size=Size("1 MiB"), max_size=Size("1 GiB"),
                                reserved_size=Size(0), selected=True, parent_selectable=False,
                                size_selectable=True)

tests/blivetgui_tests/size_widgets_test.py:889:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/size_chooser.py:549: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'parent_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file parent_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
_____________________________________________________________ ParentChooserTest.test_50_signals ______________________________________________________________

self = <blivetgui_tests.size_widgets_test.ParentChooserTest testMethod=test_50_signals>

    def test_50_signals(self):
        """ Test connecting signals and signal handling """
        parent = MagicMock()
        parent.configure_mock(name="vda")
        free = MagicMock()

>       chooser = ParentChooser(parent=parent, free_space=free,
                                min_size=Size("1 MiB"), max_size=Size("1 GiB"),
                                reserved_size=Size(0), selected=True, parent_selectable=True,
                                size_selectable=True)

tests/blivetgui_tests/size_widgets_test.py:926:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/size_chooser.py:549: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'parent_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file parent_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
__________________________________________________________ SizeChooserAreaTest.test_10_unit_change ___________________________________________________________

self = <blivetgui_tests.size_widgets_test.SizeChooserAreaTest testMethod=test_10_unit_change>

    def setUp(self):
>       self.size_chooser = SizeChooser(max_size=Size("100 GiB"), min_size=Size("1 MiB"))

tests/blivetgui_tests/size_widgets_test.py:953:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/size_chooser.py:691: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'size_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file size_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
___________________________________________________________ SizeChooserAreaTest.test_20_scale_spin ___________________________________________________________

self = <blivetgui_tests.size_widgets_test.SizeChooserAreaTest testMethod=test_20_scale_spin>

    def setUp(self):
>       self.size_chooser = SizeChooser(max_size=Size("100 GiB"), min_size=Size("1 MiB"))

tests/blivetgui_tests/size_widgets_test.py:953:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/size_chooser.py:691: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'size_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file size_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
____________________________________________________________ SizeChooserAreaTest.test_30_get_size ____________________________________________________________

self = <blivetgui_tests.size_widgets_test.SizeChooserAreaTest testMethod=test_30_get_size>

    def setUp(self):
>       self.size_chooser = SizeChooser(max_size=Size("100 GiB"), min_size=Size("1 MiB"))

tests/blivetgui_tests/size_widgets_test.py:953:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/size_chooser.py:691: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'size_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file size_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
____________________________________________________________ SizeChooserAreaTest.test_40_set_size ____________________________________________________________

self = <blivetgui_tests.size_widgets_test.SizeChooserAreaTest testMethod=test_40_set_size>

    def setUp(self):
>       self.size_chooser = SizeChooser(max_size=Size("100 GiB"), min_size=Size("1 MiB"))

tests/blivetgui_tests/size_widgets_test.py:953:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/size_chooser.py:691: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'size_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file size_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
___________________________________________________________ SizeChooserAreaTest.test_50_set_limits ___________________________________________________________

self = <blivetgui_tests.size_widgets_test.SizeChooserAreaTest testMethod=test_50_set_limits>

    def setUp(self):
>       self.size_chooser = SizeChooser(max_size=Size("100 GiB"), min_size=Size("1 MiB"))

tests/blivetgui_tests/size_widgets_test.py:953:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/size_chooser.py:691: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'size_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file size_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
_________________________________________________________ SizeChooserAreaTest.test_60_widget_status __________________________________________________________

self = <blivetgui_tests.size_widgets_test.SizeChooserAreaTest testMethod=test_60_widget_status>

    def setUp(self):
>       self.size_chooser = SizeChooser(max_size=Size("100 GiB"), min_size=Size("1 MiB"))

tests/blivetgui_tests/size_widgets_test.py:953:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/size_chooser.py:691: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'size_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file size_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
____________________________________________________________ SizeChooserAreaTest.test_70_signals _____________________________________________________________

self = <blivetgui_tests.size_widgets_test.SizeChooserAreaTest testMethod=test_70_signals>

    def setUp(self):
>       self.size_chooser = SizeChooser(max_size=Size("100 GiB"), min_size=Size("1 MiB"))

tests/blivetgui_tests/size_widgets_test.py:953:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/size_chooser.py:691: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'size_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file size_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
___________________________________________________________ SizeChooserAreaTest.test_80_selection ____________________________________________________________

self = <blivetgui_tests.size_widgets_test.SizeChooserAreaTest testMethod=test_80_selection>

    def setUp(self):
>       self.size_chooser = SizeChooser(max_size=Size("100 GiB"), min_size=Size("1 MiB"))

tests/blivetgui_tests/size_widgets_test.py:953:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/size_chooser.py:691: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'size_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file size_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
________________________________________________________ SizeChooserAreaTest.test_90_available_units _________________________________________________________

self = <blivetgui_tests.size_widgets_test.SizeChooserAreaTest testMethod=test_90_available_units>

    def setUp(self):
>       self.size_chooser = SizeChooser(max_size=Size("100 GiB"), min_size=Size("1 MiB"))

tests/blivetgui_tests/size_widgets_test.py:953:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/size_chooser.py:691: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'size_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file size_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
_______________________________________________________________ RaidChooserTest.test_10_update _______________________________________________________________

self = <blivetgui_tests.widgets_test.RaidChooserTest testMethod=test_10_update>

    def test_10_update(self):
>       chooser = RaidChooser()

tests/blivetgui_tests/widgets_test.py:21:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:142: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'raid_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file raid_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
_____________________________________________________________ RaidChooserTest.test_20_selection ______________________________________________________________

self = <blivetgui_tests.widgets_test.RaidChooserTest testMethod=test_20_selection>

    def test_20_selection(self):
>       chooser = RaidChooser()

tests/blivetgui_tests/widgets_test.py:73:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:142: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'raid_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file raid_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
_____________________________________________________ EncryptionChooserTest.test_encrypt_validity_check ______________________________________________________

self = <blivetgui_tests.widgets_test.EncryptionChooserTest testMethod=test_encrypt_validity_check>

    def test_encrypt_validity_check(self):
>       encrypt_chooser = EncryptionChooser()

tests/blivetgui_tests/widgets_test.py:89:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:242: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'encryption_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file encryption_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
_______________________________________________________ EncryptionChooserTest.test_encryption_chooser ________________________________________________________

self = <blivetgui_tests.widgets_test.EncryptionChooserTest testMethod=test_encryption_chooser>

    def test_encryption_chooser(self):
>       encrypt_chooser = EncryptionChooser()

tests/blivetgui_tests/widgets_test.py:127:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:242: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'encryption_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file encryption_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
______________________________________________________ EncryptionChooserTest.test_encryption_selection _______________________________________________________

self = <blivetgui_tests.widgets_test.EncryptionChooserTest testMethod=test_encryption_selection>

    def test_encryption_selection(self):
>       encrypt_chooser = EncryptionChooser()

tests/blivetgui_tests/widgets_test.py:115:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:242: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'encryption_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file encryption_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
________________________________________________________ EncryptionChooserTest.test_passphrase_entry _________________________________________________________

self = <blivetgui_tests.widgets_test.EncryptionChooserTest testMethod=test_passphrase_entry>

    def test_passphrase_entry(self):
>       encrypt_chooser = EncryptionChooser()

tests/blivetgui_tests/widgets_test.py:139:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:242: in __init__
    super().__init__()
../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/widgets.py:62: in __init__
    self._builder.add_from_file(locate_ui_file(self.glade_file))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

filename = 'encryption_chooser.ui'

    def locate_ui_file(filename):
        """ Locate Glade ui files
        """

        path = [os.path.split(os.path.abspath(__file__))[0] + '/../data/ui/',
                '/usr/share/blivet-gui/ui/',
                '/usr/local/share/blivet-gui/ui/',
                os.path.expanduser('~/.local/share/blivet-gui/ui/')]

        for folder in path:
            filepath = folder + filename
            if os.access(filepath, os.R_OK):
                return filepath

>       raise RuntimeError("Unable to find glade file %s" % filename)
E       RuntimeError: Unable to find glade file encryption_chooser.ui

../../BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/gui_utils.py:53: RuntimeError
================================================================== short test summary info ===================================================================
SKIPPED [1] tests/blivetutils_tests/test_10_disks.py:39: requires root access
SKIPPED [1] tests/blivetutils_tests/test_10_disks.py:67: requires root access
SKIPPED [1] tests/blivetutils_tests/test_10_disks.py:96: requires root access
SKIPPED [1] tests/blivetutils_tests/test_20_partitioning.py:129: requires root access
SKIPPED [1] tests/blivetutils_tests/test_20_partitioning.py:155: requires root access
SKIPPED [1] tests/blivetutils_tests/test_20_partitioning.py:180: requires root access
SKIPPED [1] tests/blivetutils_tests/test_20_partitioning.py:216: requires root access
SKIPPED [1] tests/blivetutils_tests/test_20_partitioning.py:264: requires root access
SKIPPED [1] tests/blivetutils_tests/test_20_partitioning.py:284: requires root access
FAILED tests/blivetgui_tests/add_dialog_test.py::AddDialogTest::test_allowed_device_types - RuntimeError: Unable to find glade file encryption_chooser.ui
FAILED tests/blivetgui_tests/add_dialog_test.py::AddDialogTest::test_btrfs_parents - RuntimeError: Unable to find glade file encryption_chooser.ui
FAILED tests/blivetgui_tests/add_dialog_test.py::AddDialogTest::test_btrfs_selection - RuntimeError: Unable to find glade file encryption_chooser.ui
FAILED tests/blivetgui_tests/add_dialog_test.py::AddDialogTest::test_btrfsvolume_widgets - RuntimeError: Unable to find glade file encryption_chooser.ui
FAILED tests/blivetgui_tests/add_dialog_test.py::AddDialogTest::test_fs_chooser - RuntimeError: Unable to find glade file encryption_chooser.ui
FAILED tests/blivetgui_tests/add_dialog_test.py::AddDialogTest::test_fs_chooser_biosboot - RuntimeError: Unable to find glade file encryption_chooser.ui
FAILED tests/blivetgui_tests/add_dialog_test.py::AddDialogTest::test_label_validity_check - RuntimeError: Unable to find glade file encryption_chooser.ui
FAILED tests/blivetgui_tests/add_dialog_test.py::AddDialogTest::test_lvm_parents - RuntimeError: Unable to find glade file encryption_chooser.ui
FAILED tests/blivetgui_tests/add_dialog_test.py::AddDialogTest::test_lvm_selection - RuntimeError: Unable to find glade file encryption_chooser.ui
FAILED tests/blivetgui_tests/add_dialog_test.py::AddDialogTest::test_lvm_widgets - RuntimeError: Unable to find glade file encryption_chooser.ui
FAILED tests/blivetgui_tests/add_dialog_test.py::AddDialogTest::test_lvmlv_parents - RuntimeError: Unable to find glade file encryption_chooser.ui
FAILED tests/blivetgui_tests/add_dialog_test.py::AddDialogTest::test_md_selection - RuntimeError: Unable to find glade file encryption_chooser.ui
FAILED tests/blivetgui_tests/add_dialog_test.py::AddDialogTest::test_md_type - RuntimeError: Unable to find glade file encryption_chooser.ui
FAILED tests/blivetgui_tests/add_dialog_test.py::AddDialogTest::test_mdraid_widgets - RuntimeError: Unable to find glade file encryption_chooser.ui
FAILED tests/blivetgui_tests/add_dialog_test.py::AddDialogTest::test_mountpoint_validity_check - RuntimeError: Unable to find glade file encryption_chooser.ui
FAILED tests/blivetgui_tests/add_dialog_test.py::AddDialogTest::test_name_validity_check - RuntimeError: Unable to find glade file encryption_chooser.ui
FAILED tests/blivetgui_tests/add_dialog_test.py::AddDialogTest::test_parents_max_size_limit - RuntimeError: Unable to find glade file encryption_chooser.ui
FAILED tests/blivetgui_tests/add_dialog_test.py::AddDialogTest::test_parents_selection - RuntimeError: Unable to find glade file encryption_chooser.ui
FAILED tests/blivetgui_tests/add_dialog_test.py::AddDialogTest::test_parents_update - RuntimeError: Unable to find glade file encryption_chooser.ui
FAILED tests/blivetgui_tests/add_dialog_test.py::AddDialogTest::test_partition_parents - RuntimeError: Unable to find glade file encryption_chooser.ui
FAILED tests/blivetgui_tests/add_dialog_test.py::AddDialogTest::test_partition_selection - RuntimeError: Unable to find glade file encryption_chooser.ui
FAILED tests/blivetgui_tests/add_dialog_test.py::AddDialogTest::test_partition_widgets - RuntimeError: Unable to find glade file encryption_chooser.ui
FAILED tests/blivetgui_tests/add_dialog_test.py::AddDialogTest::test_raid_type - RuntimeError: Unable to find glade file encryption_chooser.ui
FAILED tests/blivetgui_tests/edit_dialog_test.py::FormatDialogTest::test_basic - RuntimeError: Unable to find glade file format_dialog.ui
FAILED tests/blivetgui_tests/edit_dialog_test.py::FormatDialogTest::test_installer - RuntimeError: Unable to find glade file format_dialog.ui
FAILED tests/blivetgui_tests/list_partitions_test.py::ListPartitionsTest::test_add_to_store - RuntimeError: Unable to find glade file blivet-gui.ui
FAILED tests/blivetgui_tests/list_partitions_test.py::ListPartitionsTest::test_allow_add - RuntimeError: Unable to find glade file blivet-gui.ui
FAILED tests/blivetgui_tests/list_partitions_test.py::ListPartitionsTest::test_allow_delete - RuntimeError: Unable to find glade file blivet-gui.ui
FAILED tests/blivetgui_tests/size_widgets_test.py::SizeAreaTest::test_10_basic - RuntimeError: Unable to find glade file size_area.ui
FAILED tests/blivetgui_tests/size_widgets_test.py::SizeAreaTest::test_20_advanced_allowed - RuntimeError: Unable to find glade file size_area.ui
FAILED tests/blivetgui_tests/size_widgets_test.py::SizeAreaTest::test_30_advanced_enforced - RuntimeError: Unable to find glade file size_area.ui
FAILED tests/blivetgui_tests/size_widgets_test.py::SizeAreaTest::test_40_basic_limits - RuntimeError: Unable to find glade file size_area.ui
FAILED tests/blivetgui_tests/size_widgets_test.py::SizeAreaTest::test_45_basic_limits_combined - RuntimeError: Unable to find glade file size_area.ui
FAILED tests/blivetgui_tests/size_widgets_test.py::SizeAreaTest::test_50_advanced_limits - RuntimeError: Unable to find glade file size_area.ui
FAILED tests/blivetgui_tests/size_widgets_test.py::SizeAreaTest::test_50_advanced_limits_raid - RuntimeError: Unable to find glade file size_area.ui
FAILED tests/blivetgui_tests/size_widgets_test.py::SizeAreaTest::test_60_reserved_size - RuntimeError: Unable to find glade file size_area.ui
FAILED tests/blivetgui_tests/size_widgets_test.py::SizeAreaTest::test_60_reserved_size_advanced - RuntimeError: Unable to find glade file size_area.ui
FAILED tests/blivetgui_tests/size_widgets_test.py::SizeAreaTest::test_70_parent_allocation - RuntimeError: Unable to find glade file size_area.ui
FAILED tests/blivetgui_tests/size_widgets_test.py::ParentAreaTest::test_10_basic - RuntimeError: Unable to find glade file parent_area.ui
FAILED tests/blivetgui_tests/size_widgets_test.py::ParentAreaTest::test_20_parent_selection - RuntimeError: Unable to find glade file parent_area.ui
FAILED tests/blivetgui_tests/size_widgets_test.py::ParentAreaTest::test_30_size_selection - RuntimeError: Unable to find glade file parent_area.ui
FAILED tests/blivetgui_tests/size_widgets_test.py::ParentAreaTest::test_40_main_update - RuntimeError: Unable to find glade file size_chooser.ui
FAILED tests/blivetgui_tests/size_widgets_test.py::ParentAreaTest::test_50_selected - RuntimeError: Unable to find glade file parent_area.ui
FAILED tests/blivetgui_tests/size_widgets_test.py::ParentChooserTest::test_10_basic - RuntimeError: Unable to find glade file parent_chooser.ui
FAILED tests/blivetgui_tests/size_widgets_test.py::ParentChooserTest::test_20_selection - RuntimeError: Unable to find glade file parent_chooser.ui
FAILED tests/blivetgui_tests/size_widgets_test.py::ParentChooserTest::test_30_size_selection - RuntimeError: Unable to find glade file parent_chooser.ui
FAILED tests/blivetgui_tests/size_widgets_test.py::ParentChooserTest::test_40_limits - RuntimeError: Unable to find glade file parent_chooser.ui
FAILED tests/blivetgui_tests/size_widgets_test.py::ParentChooserTest::test_50_signals - RuntimeError: Unable to find glade file parent_chooser.ui
FAILED tests/blivetgui_tests/size_widgets_test.py::SizeChooserAreaTest::test_10_unit_change - RuntimeError: Unable to find glade file size_chooser.ui
FAILED tests/blivetgui_tests/size_widgets_test.py::SizeChooserAreaTest::test_20_scale_spin - RuntimeError: Unable to find glade file size_chooser.ui
FAILED tests/blivetgui_tests/size_widgets_test.py::SizeChooserAreaTest::test_30_get_size - RuntimeError: Unable to find glade file size_chooser.ui
FAILED tests/blivetgui_tests/size_widgets_test.py::SizeChooserAreaTest::test_40_set_size - RuntimeError: Unable to find glade file size_chooser.ui
FAILED tests/blivetgui_tests/size_widgets_test.py::SizeChooserAreaTest::test_50_set_limits - RuntimeError: Unable to find glade file size_chooser.ui
FAILED tests/blivetgui_tests/size_widgets_test.py::SizeChooserAreaTest::test_60_widget_status - RuntimeError: Unable to find glade file size_chooser.ui
FAILED tests/blivetgui_tests/size_widgets_test.py::SizeChooserAreaTest::test_70_signals - RuntimeError: Unable to find glade file size_chooser.ui
FAILED tests/blivetgui_tests/size_widgets_test.py::SizeChooserAreaTest::test_80_selection - RuntimeError: Unable to find glade file size_chooser.ui
FAILED tests/blivetgui_tests/size_widgets_test.py::SizeChooserAreaTest::test_90_available_units - RuntimeError: Unable to find glade file size_chooser.ui
FAILED tests/blivetgui_tests/widgets_test.py::RaidChooserTest::test_10_update - RuntimeError: Unable to find glade file raid_chooser.ui
FAILED tests/blivetgui_tests/widgets_test.py::RaidChooserTest::test_20_selection - RuntimeError: Unable to find glade file raid_chooser.ui
FAILED tests/blivetgui_tests/widgets_test.py::EncryptionChooserTest::test_encrypt_validity_check - RuntimeError: Unable to find glade file encryption_choos...
FAILED tests/blivetgui_tests/widgets_test.py::EncryptionChooserTest::test_encryption_chooser - RuntimeError: Unable to find glade file encryption_chooser.ui
FAILED tests/blivetgui_tests/widgets_test.py::EncryptionChooserTest::test_encryption_selection - RuntimeError: Unable to find glade file encryption_chooser.ui
FAILED tests/blivetgui_tests/widgets_test.py::EncryptionChooserTest::test_passphrase_entry - RuntimeError: Unable to find glade file encryption_chooser.ui
========================================================== 63 failed, 31 passed, 9 skipped in 3.80s ==========================================================

@kloczek
Copy link
Author

kloczek commented Jun 16, 2022

And yet another issie.
When pep517 is used generated .whl file contains etc/libreport/events.d/blivet-gui_event.conf file which is instaleld by pip install --root </install/prefix> under python sitlib directory

[tkloczko@devel-g2v blivet-gui-2.3.0]$ unzip -l dist/blivet_gui-2.3.0-py3-none-any.whl
Archive:  dist/blivet_gui-2.3.0-py3-none-any.whl
  Length      Date    Time    Name
---------  ---------- -----   ----
     1318  08-08-2021 15:09   blivet_gui-2.3.0.data/data/share/appdata/blivet-gui.appdata.xml
      215  08-08-2021 15:09   blivet_gui-2.3.0.data/data/share/applications/blivet-gui.desktop
     4323  08-08-2021 15:09   blivet_gui-2.3.0.data/data/share/blivet-gui/css/rectangle.css
       72  08-08-2021 15:09   blivet_gui-2.3.0.data/data/share/blivet-gui/img/line.png
     1734  08-08-2021 15:09   blivet_gui-2.3.0.data/data/share/blivet-gui/ui/about_dialog.ui
     3408  08-08-2021 15:09   blivet_gui-2.3.0.data/data/share/blivet-gui/ui/add_disklabel_dialog.ui
    40662  08-08-2021 15:09   blivet_gui-2.3.0.data/data/share/blivet-gui/ui/blivet-gui.ui
     6403  08-08-2021 15:09   blivet_gui-2.3.0.data/data/share/blivet-gui/ui/cache_area.ui
     2232  08-08-2021 15:09   blivet_gui-2.3.0.data/data/share/blivet-gui/ui/confirm_actions_dialog.ui
     2944  08-08-2021 15:09   blivet_gui-2.3.0.data/data/share/blivet-gui/ui/confirm_delete_dialog.ui
     1556  08-08-2021 15:09   blivet_gui-2.3.0.data/data/share/blivet-gui/ui/confirm_dialog.ui
     3079  08-08-2021 15:09   blivet_gui-2.3.0.data/data/share/blivet-gui/ui/custom_dialog.ui
     4108  08-08-2021 15:09   blivet_gui-2.3.0.data/data/share/blivet-gui/ui/encryption_chooser.ui
     1606  08-08-2021 15:09   blivet_gui-2.3.0.data/data/share/blivet-gui/ui/error_dialog.ui
     5367  08-08-2021 15:09   blivet_gui-2.3.0.data/data/share/blivet-gui/ui/exception_dialog.ui
     9241  08-08-2021 15:09   blivet_gui-2.3.0.data/data/share/blivet-gui/ui/format_dialog.ui
     1561  08-08-2021 15:09   blivet_gui-2.3.0.data/data/share/blivet-gui/ui/info_dialog.ui
     4694  08-08-2021 15:09   blivet_gui-2.3.0.data/data/share/blivet-gui/ui/label_dialog.ui
     3511  08-08-2021 15:09   blivet_gui-2.3.0.data/data/share/blivet-gui/ui/luks_passphrase_dialog.ui
     5011  08-08-2021 15:09   blivet_gui-2.3.0.data/data/share/blivet-gui/ui/mountpoint_dialog.ui
     1666  08-08-2021 15:09   blivet_gui-2.3.0.data/data/share/blivet-gui/ui/parent_area.ui
     4371  08-08-2021 15:09   blivet_gui-2.3.0.data/data/share/blivet-gui/ui/parent_chooser.ui
     1665  08-08-2021 15:09   blivet_gui-2.3.0.data/data/share/blivet-gui/ui/raid_chooser.ui
     3462  08-08-2021 15:09   blivet_gui-2.3.0.data/data/share/blivet-gui/ui/resize_dialog.ui
     2625  08-08-2021 15:09   blivet_gui-2.3.0.data/data/share/blivet-gui/ui/root_check_window.ui
     2291  08-08-2021 15:09   blivet_gui-2.3.0.data/data/share/blivet-gui/ui/show_actions_dialog.ui
     1919  08-08-2021 15:09   blivet_gui-2.3.0.data/data/share/blivet-gui/ui/size_area.ui
     2053  08-08-2021 15:09   blivet_gui-2.3.0.data/data/share/blivet-gui/ui/size_chooser.ui
     6088  08-08-2021 15:09   blivet_gui-2.3.0.data/data/share/blivet-gui/ui/unmount_dialog.ui
     1595  08-08-2021 15:09   blivet_gui-2.3.0.data/data/share/blivet-gui/ui/warning_dialog.ui
      842  08-08-2021 15:09   blivet_gui-2.3.0.data/data/share/icons/hicolor/16x16/apps/blivet-gui.png
     1228  08-08-2021 15:09   blivet_gui-2.3.0.data/data/share/icons/hicolor/22x22/apps/blivet-gui.png
     1450  08-08-2021 15:09   blivet_gui-2.3.0.data/data/share/icons/hicolor/24x24/apps/blivet-gui.png
    42850  08-08-2021 15:09   blivet_gui-2.3.0.data/data/share/icons/hicolor/256x256/apps/blivet-gui.png
     2230  08-08-2021 15:09   blivet_gui-2.3.0.data/data/share/icons/hicolor/32x32/apps/blivet-gui.png
     3996  08-08-2021 15:09   blivet_gui-2.3.0.data/data/share/icons/hicolor/48x48/apps/blivet-gui.png
     5368  08-08-2021 15:09   blivet_gui-2.3.0.data/data/share/icons/hicolor/64x64/apps/blivet-gui.png
      755  08-08-2021 15:09   blivet_gui-2.3.0.data/data/share/man/man1/blivet-gui.1
      810  08-08-2021 15:09   blivet_gui-2.3.0.data/data/share/polkit-1/actions/org.fedoraproject.pkexec.blivet-gui.policy
     3822  06-16-2022 12:02   blivet_gui-2.3.0.data/scripts/blivet-gui
     3099  06-16-2022 12:02   blivet_gui-2.3.0.data/scripts/blivet-gui-daemon
       50  08-08-2021 15:09   blivetgui/__init__.py
     3439  08-08-2021 15:09   blivetgui/actions_menu.py
     4240  08-08-2021 15:09   blivetgui/actions_toolbar.py
    64810  06-16-2022 12:02   blivetgui/blivet_utils.py
    34119  08-08-2021 15:09   blivetgui/blivetgui.py
     1885  08-08-2021 15:09   blivetgui/config.py
     3643  08-08-2021 15:09   blivetgui/exception_handler.py
     2379  08-08-2021 15:09   blivetgui/gui_utils.py
     1388  08-08-2021 15:09   blivetgui/i18n.py
     5902  06-16-2022 12:02   blivetgui/list_actions.py
     7026  08-08-2021 15:09   blivetgui/list_devices.py
     3349  08-08-2021 15:09   blivetgui/list_parents.py
    13633  08-08-2021 15:09   blivetgui/list_partitions.py
     2997  08-08-2021 15:09   blivetgui/loading_window.py
     4195  08-08-2021 15:09   blivetgui/logs.py
     2189  08-08-2021 15:09   blivetgui/main_menu.py
    10356  08-08-2021 15:09   blivetgui/osinstall.py
     6977  06-16-2022 12:02   blivetgui/processing_window.py
        0  08-08-2021 15:09   blivetgui/communication/__init__.py
     9977  08-08-2021 15:09   blivetgui/communication/client.py
       86  08-08-2021 15:09   blivetgui/communication/constants.py
     1219  08-08-2021 15:09   blivetgui/communication/errors.py
     2122  08-08-2021 15:09   blivetgui/communication/proxy_utils.py
    11505  08-08-2021 15:09   blivetgui/communication/server.py
       76  08-08-2021 15:09   blivetgui/dialogs/__init__.py
    41383  08-08-2021 15:09   blivetgui/dialogs/add_dialog.py
       76  08-08-2021 15:09   blivetgui/dialogs/constants.py
    12183  08-08-2021 15:09   blivetgui/dialogs/device_info_dialog.py
    27246  08-08-2021 15:09   blivetgui/dialogs/edit_dialog.py
     6244  08-08-2021 15:09   blivetgui/dialogs/helpers.py
    11833  08-08-2021 15:09   blivetgui/dialogs/message_dialogs.py
     4284  08-08-2021 15:09   blivetgui/dialogs/other_dialogs.py
    34208  08-08-2021 15:09   blivetgui/dialogs/size_chooser.py
    12802  08-08-2021 15:09   blivetgui/dialogs/widgets.py
        0  08-08-2021 15:09   blivetgui/visualization/__init__.py
    10847  08-08-2021 15:09   blivetgui/visualization/logical_view.py
     8435  08-08-2021 15:09   blivetgui/visualization/physical_view.py
     5071  08-08-2021 15:09   blivetgui/visualization/rectangle.py
      243  08-08-2021 15:09   etc/libreport/events.d/blivet-gui_event.conf    <<<<==== HERE
    18092  06-16-2022 12:02   blivet_gui-2.3.0.dist-info/COPYING
      236  06-16-2022 12:02   blivet_gui-2.3.0.dist-info/METADATA
       92  06-16-2022 12:02   blivet_gui-2.3.0.dist-info/WHEEL
       10  06-16-2022 12:02   blivet_gui-2.3.0.dist-info/top_level.txt
     8767  06-16-2022 12:02   blivet_gui-2.3.0.dist-info/RECORD
---------                     -------
   596844                     85 files

Part of rpmbuild output

Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/tkloczko/rpmbuild/BUILDROOT/blivet-gui-2.3.0-7.fc35.x86_64
error: Installed (but unpackaged) file(s) found:
   /usr/lib/python3.8/site-packages/etc/libreport/events.d/blivet-gui_event.conf

@vojtechtrefny
Copy link
Member

I've removed the blivet-gui_event.conf installation in #353, the config file is kinda Fedora-specific thing and it doesn't really make sense to have it in handled by setup.py.

As for the test failures. These are caused by the test not being to able to find the .ui files, which makes sense because these are in the blivet_gui-2.3.0.data/data/share/blivet-gui/ui/ where the code doesn't look for them. I really hate to be that developer, but I am going to give you the standard "it works for me" answer. It would be great to comply with the PEP517, but I unfortunately don't have capacity to work on that and the standard make && make install "works for me", so for now I can only give you another cliché answer "patches welcome", sorry. I might have some time to look into this in the future, but I can't promise anything.

@kloczek
Copy link
Author

kloczek commented Jun 18, 2022

If that file is needed IMO it would be good to leave it in git repo to be able use it during packaging process.
My understanding is that this file should be installed as /etc/libreport/events.d/blivet-gui_event.conf.
Is that correct?

@vojtechtrefny
Copy link
Member

If that file is needed IMO it would be good to leave it in git repo to be able use it during packaging process.

I didn't remove the file from the git repo.

My understanding is that this file should be installed as /etc/libreport/events.d/blivet-gui_event.conf. Is that correct?

Yes, but this makes sense only on systems with libreport/ABRT so I moved the installation step to the SPEC file.

@kloczek
Copy link
Author

kloczek commented Jan 23, 2024

Updated test suite output for 2.4.2
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/blivet-gui-2.4.2-7.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/blivet-gui-2.4.2-7.fc35.x86_64/usr/lib/python3.8/site-packages
+ xvfb-run -s '-screen 0 640x480x8 -extension RANDR' /usr/bin/pytest -ra -m 'not network' tests
============================= test session starts ==============================
platform linux -- Python 3.8.18, pytest-7.4.4, pluggy-1.3.0
rootdir: /home/tkloczko/rpmbuild/BUILD/blivet-gui-2.4.2
collected 2 items / 12 errors

==================================== ERRORS ====================================
__________ ERROR collecting tests/blivetgui_tests/add_dialog_test.py ___________
tests/blivetgui_tests/add_dialog_test.py:6: in <module>
    from blivetgui.dialogs.add_dialog import AdvancedOptions, AddDialog
../../BUILDROOT/blivet-gui-2.4.2-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/add_dialog.py:28: in <module>
    gi.require_version("Gtk", "3.0")
/usr/lib64/python3.8/site-packages/gi/__init__.py:126: in require_version
    raise ValueError('Namespace %s not available' % namespace)
E   ValueError: Namespace Gtk not available
____________ ERROR collecting tests/blivetgui_tests/client_test.py _____________
tests/blivetgui_tests/client_test.py:9: in <module>
    from blivet.size import Size
/usr/lib/python3.8/site-packages/blivet/__init__.py:30: in <module>
    from . import util, arch
/usr/lib/python3.8/site-packages/blivet/arch.py:36: in <module>
    from .storage_log import log_exception_info
/usr/lib/python3.8/site-packages/blivet/storage_log.py:6: in <module>
    from .flags import flags
/usr/lib/python3.8/site-packages/blivet/flags.py:119: in <module>
    flags = Flags()
/usr/lib/python3.8/site-packages/blivet/flags.py:47: in __init__
    self.selinux = selinux.is_selinux_enabled()
E   AttributeError: module 'selinux' has no attribute 'is_selinux_enabled'
__________ ERROR collecting tests/blivetgui_tests/edit_dialog_test.py __________
tests/blivetgui_tests/edit_dialog_test.py:7: in <module>
    from blivet.size import Size
/usr/lib/python3.8/site-packages/blivet/__init__.py:30: in <module>
    from . import util, arch
/usr/lib/python3.8/site-packages/blivet/arch.py:36: in <module>
    from .storage_log import log_exception_info
/usr/lib/python3.8/site-packages/blivet/storage_log.py:6: in <module>
    from .flags import flags
/usr/lib/python3.8/site-packages/blivet/flags.py:119: in <module>
    flags = Flags()
/usr/lib/python3.8/site-packages/blivet/flags.py:47: in __init__
    self.selinux = selinux.is_selinux_enabled()
E   AttributeError: module 'selinux' has no attribute 'is_selinux_enabled'
_________ ERROR collecting tests/blivetgui_tests/list_actions_test.py __________
tests/blivetgui_tests/list_actions_test.py:9: in <module>
    from blivetgui.list_actions import ListActions
../../BUILDROOT/blivet-gui-2.4.2-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/list_actions.py:26: in <module>
    gi.require_version("Gtk", "3.0")
/usr/lib64/python3.8/site-packages/gi/__init__.py:126: in require_version
    raise ValueError('Namespace %s not available' % namespace)
E   ValueError: Namespace Gtk not available
________ ERROR collecting tests/blivetgui_tests/list_partitions_test.py ________
tests/blivetgui_tests/list_partitions_test.py:6: in <module>
    from blivet.size import Size
/usr/lib/python3.8/site-packages/blivet/__init__.py:30: in <module>
    from . import util, arch
/usr/lib/python3.8/site-packages/blivet/arch.py:36: in <module>
    from .storage_log import log_exception_info
/usr/lib/python3.8/site-packages/blivet/storage_log.py:6: in <module>
    from .flags import flags
/usr/lib/python3.8/site-packages/blivet/flags.py:119: in <module>
    flags = Flags()
/usr/lib/python3.8/site-packages/blivet/flags.py:47: in __init__
    self.selinux = selinux.is_selinux_enabled()
E   AttributeError: module 'selinux' has no attribute 'is_selinux_enabled'
_________ ERROR collecting tests/blivetgui_tests/other_dialogs_test.py _________
tests/blivetgui_tests/other_dialogs_test.py:4: in <module>
    from blivetgui.dialogs.helpers import is_name_valid, is_label_valid, is_mountpoint_valid
../../BUILDROOT/blivet-gui-2.4.2-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/helpers.py:30: in <module>
    gi.require_version("Gtk", "3.0")
/usr/lib64/python3.8/site-packages/gi/__init__.py:126: in require_version
    raise ValueError('Namespace %s not available' % namespace)
E   ValueError: Namespace Gtk not available
____________ ERROR collecting tests/blivetgui_tests/server_test.py _____________
tests/blivetgui_tests/server_test.py:8: in <module>
    from blivetgui.communication.server import BlivetUtilsServer, BlivetProxyObject
../../BUILDROOT/blivet-gui-2.4.2-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/communication/server.py:24: in <module>
    from blivet import size
/usr/lib/python3.8/site-packages/blivet/__init__.py:30: in <module>
    from . import util, arch
/usr/lib/python3.8/site-packages/blivet/arch.py:36: in <module>
    from .storage_log import log_exception_info
/usr/lib/python3.8/site-packages/blivet/storage_log.py:6: in <module>
    from .flags import flags
/usr/lib/python3.8/site-packages/blivet/flags.py:119: in <module>
    flags = Flags()
/usr/lib/python3.8/site-packages/blivet/flags.py:47: in __init__
    self.selinux = selinux.is_selinux_enabled()
E   AttributeError: module 'selinux' has no attribute 'is_selinux_enabled'
_________ ERROR collecting tests/blivetgui_tests/size_widgets_test.py __________
tests/blivetgui_tests/size_widgets_test.py:6: in <module>
    from blivetgui.dialogs.size_chooser import SizeChooser, ParentChooser, ParentArea, SizeArea
../../BUILDROOT/blivet-gui-2.4.2-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/dialogs/size_chooser.py:26: in <module>
    gi.require_version("Gtk", "3.0")
/usr/lib64/python3.8/site-packages/gi/__init__.py:126: in require_version
    raise ValueError('Namespace %s not available' % namespace)
E   ValueError: Namespace Gtk not available
_____________ ERROR collecting tests/blivetgui_tests/utils_test.py _____________
tests/blivetgui_tests/utils_test.py:6: in <module>
    from blivetgui.blivet_utils import BlivetUtils, FreeSpaceDevice
../../BUILDROOT/blivet-gui-2.4.2-7.fc35.x86_64/usr/lib/python3.8/site-packages/blivetgui/blivet_utils.py:24: in <module>
    import blivet
/usr/lib/python3.8/site-packages/blivet/__init__.py:30: in <module>
    from . import util, arch
/usr/lib/python3.8/site-packages/blivet/arch.py:36: in <module>
    from .storage_log import log_exception_info
/usr/lib/python3.8/site-packages/blivet/storage_log.py:6: in <module>
    from .flags import flags
/usr/lib/python3.8/site-packages/blivet/flags.py:119: in <module>
    flags = Flags()
/usr/lib/python3.8/site-packages/blivet/flags.py:47: in __init__
    self.selinux = selinux.is_selinux_enabled()
E   AttributeError: module 'selinux' has no attribute 'is_selinux_enabled'
____________ ERROR collecting tests/blivetgui_tests/widgets_test.py ____________
tests/blivetgui_tests/widgets_test.py:7: in <module>
    gi.require_version("Gtk", "3.0")
/usr/lib64/python3.8/site-packages/gi/__init__.py:126: in require_version
    raise ValueError('Namespace %s not available' % namespace)
E   ValueError: Namespace Gtk not available
__________ ERROR collecting tests/blivetutils_tests/test_10_disks.py ___________
tests/blivetutils_tests/test_10_disks.py:3: in <module>
    import blivet
/usr/lib/python3.8/site-packages/blivet/__init__.py:30: in <module>
    from . import util, arch
/usr/lib/python3.8/site-packages/blivet/arch.py:36: in <module>
    from .storage_log import log_exception_info
/usr/lib/python3.8/site-packages/blivet/storage_log.py:6: in <module>
    from .flags import flags
/usr/lib/python3.8/site-packages/blivet/flags.py:119: in <module>
    flags = Flags()
/usr/lib/python3.8/site-packages/blivet/flags.py:47: in __init__
    self.selinux = selinux.is_selinux_enabled()
E   AttributeError: module 'selinux' has no attribute 'is_selinux_enabled'
_______ ERROR collecting tests/blivetutils_tests/test_20_partitioning.py _______
tests/blivetutils_tests/test_20_partitioning.py:5: in <module>
    import blivet
/usr/lib/python3.8/site-packages/blivet/__init__.py:30: in <module>
    from . import util, arch
/usr/lib/python3.8/site-packages/blivet/arch.py:36: in <module>
    from .storage_log import log_exception_info
/usr/lib/python3.8/site-packages/blivet/storage_log.py:6: in <module>
    from .flags import flags
/usr/lib/python3.8/site-packages/blivet/flags.py:119: in <module>
    flags = Flags()
/usr/lib/python3.8/site-packages/blivet/flags.py:47: in __init__
    self.selinux = selinux.is_selinux_enabled()
E   AttributeError: module 'selinux' has no attribute 'is_selinux_enabled'
=========================== short test summary info ============================
ERROR tests/blivetgui_tests/add_dialog_test.py - ValueError: Namespace Gtk no...
ERROR tests/blivetgui_tests/client_test.py - AttributeError: module 'selinux'...
ERROR tests/blivetgui_tests/edit_dialog_test.py - AttributeError: module 'sel...
ERROR tests/blivetgui_tests/list_actions_test.py - ValueError: Namespace Gtk ...
ERROR tests/blivetgui_tests/list_partitions_test.py - AttributeError: module ...
ERROR tests/blivetgui_tests/other_dialogs_test.py - ValueError: Namespace Gtk...
ERROR tests/blivetgui_tests/server_test.py - AttributeError: module 'selinux'...
ERROR tests/blivetgui_tests/size_widgets_test.py - ValueError: Namespace Gtk ...
ERROR tests/blivetgui_tests/utils_test.py - AttributeError: module 'selinux' ...
ERROR tests/blivetgui_tests/widgets_test.py - ValueError: Namespace Gtk not a...
ERROR tests/blivetutils_tests/test_10_disks.py - AttributeError: module 'seli...
ERROR tests/blivetutils_tests/test_20_partitioning.py - AttributeError: modul...
!!!!!!!!!!!!!!!!!!! Interrupted: 12 errors during collection !!!!!!!!!!!!!!!!!!!
============================== 12 errors in 0.46s ==============================

@vojtechtrefny
Copy link
Member

ValueError: Namespace Gtk not available

Missing Gtk GI bindings.

E AttributeError: module 'selinux' has no attribute 'is_selinux_enabled'

Not sure what happened here, what's your version of libselinux python bindings?

@kloczek
Copy link
Author

kloczek commented Jan 24, 2024

Not sure what happened here, what's your version of libselinux python bindings?

3.6

@vojtechtrefny
Copy link
Member

Weird, we also have 3.6 in the latest Fedora and I am not seeing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants