Message6064
Hi Anthony:
In message <1104332833.20180212185115@inbox.ru>,
Anthony writes:
>Sorry for the late reply. I suspended the subject because of thinking
>that I'm doing something wrong again.
>
>I run test as:
> ./run_tests.py -k testserve_static_files test/test_cgi.py
> and get error:
> AssertionError: '/devel/hibcore/src/_test_cgi_form/html/issue.index.html' != '_test_cgi_form/html/issue.index.html'
>
> I have slightly different code base so this may be not an issue.
> I note the subject because I guess this is related to parts that I didn't
> touch. I did look in code and wondering how relative path can be
> expected here.
I suspect you are not synced to the current tip and your test file is
out of date. Make sure that the changes in 8743b7226dc7 are
incorporated in your test_cgi.py. In my file that is when the
definition of testserve_static_files was last changed.
What does:
$ hg summary
parent: 5312:a4fe76fba54a tip
issue2550957: Duplicate emails (with patch).
branch: default
commit: 2 modified, 1 unknown
update: (current)
mq: (empty queue)
show for you?
Your exact command runs fine for me in a directory synced to the
current head release:
$ ./run_tests.py -k testserve_static_files test/test_cgi.py
========================= test session starts ==============================
platform linux2 -- Python 2.7.6, pytest-2.9.2, py-1.4.31, pluggy-0.3.1
rootdir: /home/rouilj/develop/roundup.hg, inifile:
collected 86 items
test/test_cgi.py .
=========== 85 tests deselected by '-ktestserve_static_files' ===============
================ 1 passed, 85 deselected in 2.45 seconds ====================
What does:
$ sum test/test_cgi.py
05397 81
return for you?
Also what version of python are you using?
Have a great week.
--
-- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions. |
|
Date |
User |
Action |
Args |
2018-02-19 02:08:00 | rouilj | set | recipients:
+ rouilj, ber, antmail |
2018-02-19 02:08:00 | rouilj | link | issue2550956 messages |
2018-02-19 02:07:59 | rouilj | create | |
|