def setUp(self): """Sets up the development environment """ import Authentication import GDocs import Configuration import gdata.docs.client self._confMan = Configuration.ConfigurationManager() self._am = Authentication.AccountManager() self._gdcm = GDocs.GDClientManager(self._confMan) self._gdam = GDocs.GDActionsManager(self._gdcm)
def __init__(self): """ """ #Create instances of all the classes self._confMan = Configuration.ConfigurationManager() self._gdcm = GDocs.GDClientManager(self._confMan) self._gdam = GDocs.GDActionsManager(self._gdcm) self._accMan = Authentication.AccountManager() account = self._confMan.get_account() self._gdcm.authenticate_client(account)
def setUp(self): """Sets up the test case environment """ import Authentication import GDocs import gdata.docs.client import Configuration self._confMan = Configuration.ConfigurationManager() self._gdcManger = GDocs.GDClientManager(self._confMan) self._am = Authentication.AccountManager() self._gdcm = GDocs.GDClientManager(self._confMan)
def setUp(self): """Sets up the test case """ self.confMan = Configuration.ConfigurationManager()