Roundup Tracker - Issues

Message6043

Author antmail
Recipients antmail
Date 2017-10-25.14:05:07
Message-id <489608269.20171025170504@inbox.ru>
In-reply-to
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 ________________________
History
Date User Action Args
2017-10-25 14:05:08antmailsetrecipients: + antmail
2017-10-25 14:05:08antmaillinkissue2550956 messages
2017-10-25 14:05:07antmailcreate