Exemplo n.º 1
0
 def test_report(self):
     project = Project('.')
     project.set_property('dir_reports', '/any/dir')
     expected = './any/dir/cram.err'
     received = _report_file(project)
     self.assertEquals(expected, received)
Exemplo n.º 2
0
 def test_report(self):
     project = Project('.')
     project.set_property('dir_reports', np('any/dir'))
     expected = np(jp(project.basedir, 'any/dir/cram.err'))
     received = _report_file(project)
     self.assertEqual(expected, received)