def test_unknown_file_type(self, data_patcher): data_patcher('html/doc/foo.bin', b'\xff') mimetype, data = qutescheme.qute_help(QUrl('qute://help/foo.bin')) assert mimetype == 'application/octet-stream' assert data == b'\xff'
def test_unknown_file_type(self, data_patcher): data_patcher('html/doc/foo.bin', b'\xff') mimetype, data = qutescheme.qute_help(QUrl('qute://help/foo.bin')) assert mimetype == 'application/octet-stream' assert data == b'\xff'