Example #1
0
 def test_fileprint(self):
     from xpra.server.source.fileprint_mixin import FilePrintMixin
     from xpra.net.file_transfer import FileTransferAttributes
     self._test_mixin_class(FilePrintMixin, {
         "file_transfer" : FileTransferAttributes(),
         "machine_id"    : "123",
         })
Example #2
0
 def __init__(self):
     self.lpadmin = ""
     self.lpinfo = ""
     self.add_printer_options = []
     self.file_transfer = FileTransferAttributes()
Example #3
0
 def test_file_transfer_attributes(self):
     fta = FileTransferAttributes()
     assert fta.get_file_transfer_features()
     assert fta.get_info()