Message6043
Hello,
I have a question about test case failure. Why do test expect relative
path but not absolute?
test.test_cgi.FormTestCase testMethod=testserve_static_files>
def testserve_static_files(self):
...
# TEMPLATES dir is searched by default. So this file exists.
# Check the returned values.
cl.serve_static_file("issue.index.html")
self.assertEquals(output[0][1], "text/html")
> self.assertEquals(output[0][3], "_test_cgi_form/html/issue.index.html")
E AssertionError: '/devel/hibcore/src/test/_test_cgi_form/html/issue.index.html' !=
'_test_cgi_form/html/issue.index.html'
test_cgi.py:1411: AssertionError
_______________________ memorydbDBTest.testQuietJournal ________________________ |
|
Date |
User |
Action |
Args |
2017-10-25 14:05:08 | antmail | set | recipients:
+ antmail |
2017-10-25 14:05:08 | antmail | link | issue2550956 messages |
2017-10-25 14:05:07 | antmail | create | |
|