Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- E:\temp\pytest_tmp>E:\Softwares\Python2.7\App\Scripts\py.test.exe test_pytest.py -s
- ================================================================ test session starts ====================
- platform win32 -- Python 2.7.3 -- pytest-2.3.4
- collecting 0 items Reading data from 'test.csv'... found 2 rows
- 44
- 4
- collected 0 items / 1 errors
- ====================================================================== ERRORS ===========================
- __________________________________________________________ ERROR collecting test_pytest.py ______________
- conftest.py:49: in pytest_generate_tests
- > (datas),
- E:\Softwares\Python2.7\App\lib\site-packages\_pytest\python.py:684: in parametrize
- > assert len(valset) == len(argnames)
- E assert 44 == 4
- E + where 44 = len("www.google.fr','Thomas','CARPENTIER','987654")
- E + and 4 = len(('url', 'name', 'lastname', 'idCustomer'))
- ============================================================== 1 error in 0.06 seconds ==================
Advertisement
Add Comment
Please, Sign In to add comment