gdata.test_config_template
index
/usr/local/svn/gdata-python-client/src/gdata/test_config_template.pyc

Fill in this module with configuration data to use in tests.
 
See comments in the source code for explanations of the settings.

 
Modules
       
os

 
Classes
       
__builtin__.object
NoAuthConfig
TestConfig
BloggerConfig
ContactsConfig
MapsConfig

 
class BloggerConfig(TestConfig)
    
Method resolution order:
BloggerConfig
TestConfig
__builtin__.object

Data and other attributes defined here:
blog_id = "<your test blog's id>"
content = 'This is a <b>test</b>.'
service = 'blogger'
title = 'A Test Post'

Class methods inherited from TestConfig:
email(cls) from __builtin__.type
Provides email to log into the test account for this service.
 
By default uses GOOGLE_ACCOUNT_EMAIL, so overwrite this function if you
have a service-specific test account.
password(cls) from __builtin__.type
Provides password to log into the test account for this service.
 
By default uses GOOGLE_ACCOUNT_PASSWORD, so overwrite this function if
you have a service-specific test account.

Data descriptors inherited from TestConfig:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from TestConfig:
auth_token = None

 
class ContactsConfig(TestConfig)
    
Method resolution order:
ContactsConfig
TestConfig
__builtin__.object

Class methods defined here:
get_image_location(cls) from __builtin__.type

Data and other attributes defined here:
service = 'cp'

Class methods inherited from TestConfig:
email(cls) from __builtin__.type
Provides email to log into the test account for this service.
 
By default uses GOOGLE_ACCOUNT_EMAIL, so overwrite this function if you
have a service-specific test account.
password(cls) from __builtin__.type
Provides password to log into the test account for this service.
 
By default uses GOOGLE_ACCOUNT_PASSWORD, so overwrite this function if
you have a service-specific test account.

Data descriptors inherited from TestConfig:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from TestConfig:
auth_token = None

 
class MapsConfig(TestConfig)
    
Method resolution order:
MapsConfig
TestConfig
__builtin__.object

Data and other attributes defined here:
map_summary = 'A test description'
map_title = 'Some test map'
service = 'local'

Class methods inherited from TestConfig:
email(cls) from __builtin__.type
Provides email to log into the test account for this service.
 
By default uses GOOGLE_ACCOUNT_EMAIL, so overwrite this function if you
have a service-specific test account.
password(cls) from __builtin__.type
Provides password to log into the test account for this service.
 
By default uses GOOGLE_ACCOUNT_PASSWORD, so overwrite this function if
you have a service-specific test account.

Data descriptors inherited from TestConfig:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from TestConfig:
auth_token = None

 
class NoAuthConfig(__builtin__.object)
     Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes defined here:
auth_token = False

 
class TestConfig(__builtin__.object)
     Class methods defined here:
email(cls) from __builtin__.type
Provides email to log into the test account for this service.
 
By default uses GOOGLE_ACCOUNT_EMAIL, so overwrite this function if you
have a service-specific test account.
password(cls) from __builtin__.type
Provides password to log into the test account for this service.
 
By default uses GOOGLE_ACCOUNT_PASSWORD, so overwrite this function if
you have a service-specific test account.

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes defined here:
auth_token = None
service = None

 
Data
        CACHE_RESPONSES = True
CLEAR_CACHE = True
GOOGLE_ACCOUNT_EMAIL = '<your email>'
GOOGLE_ACCOUNT_PASSWORD = '<your password>'
RUN_LIVE_TESTS = False
TEST_FILES_DIR = '<location of the tests directory>'