def copy_path(self, absolute=True): """Copy a selected path to the clipboard""" filename = selection.selection_model().filename() qtutils.copy_path(filename, absolute=absolute)
def copy_path(self): """Copy a selected path to the clipboard""" filename = selection.selection_model().filename() qtutils.copy_path(filename)
def test_copy_path(self): # This doesn't do much except make sure it doesn't throw and exception qtutils.copy_path('dummy_string')