• Marco Trevisan's avatar
    tests/fprintd: Use a new bus for each test unit · 06480c79
    Marco Trevisan authored
    When creating a new unit we used to get the system bus via Gio.bus_get_sync,
    however this has a singleton implementation, and so would always return the
    same connection, creating issues in tests when a new test suite is added
    because the newly got connection would be already closed.
    
    So, just manually create a new bus connection, also close the bus and
    cleanup the test bus in dbus.
    06480c79
fprintd.py 18.9 KB