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)
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)