示例#1
0
 def setUp(self):
     super(DataLoadToolExportTestCase, self).setUp()
     self.maxDiff = None  # For XML document diffs.
     self.consumers_schema = dataloadtool_schema('Consumers.xsd')
     self.parser = objectify.makeparser(schema=self.consumers_schema)
     self.test_output_path = path.join(path.dirname(__file__), 'test.out')
     self.test_output_credentials_path = path.join(path.dirname(__file__), 'test_alias.out')
示例#2
0
 def setUp(self):
     super(DataLoadToolExportCommandTestCase, self).setUp()
     self.command = management.load_command_class('neo', 'members_to_cidb_dataloadtool')
     self.consumers_parser = objectify.makeparser(schema=dataloadtool_schema('Consumers.xsd'))
     self.test_output_path = path.join(path.dirname(__file__), 'test.out')
     self.test_output_credentials_path = path.join(path.dirname(__file__), 'test_alias.out')