Ejemplo n.º 1
0
 def setUp(self):
     self._test_file = os.path.join(
         os.path.dirname(os.path.abspath(__file__)), 'data', 'calls.xml')
     argv = "-s -f " + self._test_file
     memacs = PhonecallsMemacs(argv=argv.split())
     self.data = memacs.test_get_entries()
     self._calls = ET.parse(self._test_file)
Ejemplo n.º 2
0
 def setUp(self):
     self._test_file = os.path.join(
         os.path.dirname(os.path.abspath(__file__)), 'data', 'calls.xml'
     )
     argv = "-s -f " + self._test_file
     memacs = PhonecallsMemacs(argv=argv.split())
     self.data = memacs.test_get_entries()
     self._calls = ET.parse(self._test_file)
Ejemplo n.º 3
0
 def setUp(self):
     test_file = os.path.dirname(os.path.abspath(__file__)) + \
         os.sep + "tmp" + os.sep + "calls.xml"
     argv = "-s -f " + test_file
     memacs = PhonecallsMemacs(argv=argv.split())
     self.data = memacs.test_get_entries()
Ejemplo n.º 4
0
 def setUp(self):
     test_file = os.path.dirname(os.path.abspath(__file__)) + \
         os.sep + "tmp" + os.sep + "calls.xml"
     argv = "-s -f " + test_file
     memacs = PhonecallsMemacs(argv=argv.split())
     self.data = memacs.test_get_entries()