~ubuntu-branches/ubuntu/vivid/dogtail/vivid-proposed

« back to all changes in this revision

Viewing changes to examples/evolution-test-first-time-wizard.py

  • Committer: Bazaar Package Importer
  • Author(s): Jose Carlos Garcia Sogo
  • Date: 2006-12-16 10:57:30 UTC
  • mfrom: (1.2.1 upstream) (3.1.1 edgy)
  • Revision ID: james.westby@ubuntu.com-20061216105730-utt6mcidfssawo7j
Tags: 0.6.1-3
pyhton-at-spi has to be added as dependency (Closes: #402752)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/env python
2
 
# Dogtail demo script
3
 
__author__ = 'David Malcolm <dmalcolm@redhat.com>'
4
 
 
5
 
 
6
 
# Test configuring an IMAP and SMTP account
7
 
#
8
 
# Assumes evolution is configured and is running
9
 
 
10
 
from dogtail.apps.wrappers.evolution import *
11
 
 
12
 
account = MixedAccount(fullName="John Doe",
13
 
                       emailAddress="jdoe@example.com",
14
 
                       receiveMethod = IMAPSettings(server="mail.example.com",
15
 
                                                    username="jdoe",
16
 
                                                    useSecureConnection=UseSecureConnection.ALWAYS,
17
 
                                                    authenticationType="password"),
18
 
                       sendMethod = SMTPSettings(server="smtp.example.com",
19
 
                                                 useSecureConnection=UseSecureConnection.NEVER))
20
 
 
21
 
evo = doFirstTimeWizard(account, "test IMAP/SMTP account", "America/New_York")