Closed jeanconn closed 7 years ago
Closes #89
ska-fido: git checkout master
Already on 'master'
ska-fido: py.test kadi/tests/test_occweb.py
======================================================= test session starts ========================================================
platform linux2 -- Python 2.7.9 -- py-1.4.26 -- pytest-2.6.4
collected 2 items
kadi/tests/test_occweb.py ss
==================================================== 2 skipped in 3.63 seconds =====================================================
ska-fido: git checkout fix_ftp_test
Switched to branch 'fix_ftp_test'
ska-fido: py.test kadi/tests/test_occweb.py
======================================================= test session starts ========================================================
platform linux2 -- Python 2.7.9 -- py-1.4.26 -- pytest-2.6.4
collected 2 items
kadi/tests/test_occweb.py ..
===================================================== 2 passed in 4.64 seconds =====================================================
I suppose the easiest way to test the xskipping is to edit my netrc.
With my .netrc edited to just cut the lucky reference, the skip still seems to work.
ska-fido: grep lucky ~/.netrc
ska-fido:
ska-fido: git checkout fix_ftp_test
Switched to branch 'fix_ftp_test'
ska-fido: py.test kadi/tests/test_occweb.py
======================================================= test session starts ========================================================
platform linux2 -- Python 2.7.9 -- py-1.4.26 -- pytest-2.6.4
collected 2 items
kadi/tests/test_occweb.py ss
==================================================== 2 skipped in 2.72 seconds ====================================================
Fix ftp test bug. 'login' is the user key in netrc