[Tutor] Pytest help

Sahil Chauhan sahil4u2u at gmail.com
Tue Jul 7 04:16:04 CEST 2015


Hi,

I am trying to use py.test for writing some selenium webdriver tests. I
wrote my first test and
pytest is deselecting that test even though I didn't mark any test.

How can I resolve this issue?  Is there some default setting used by
py.test,


(qa)MacBook-Air:$  py.test tests/test_login.py
===========================================================================================
test session starts
===========================================================================================
platform darwin -- Python 2.7.6 -- pytest-2.2.4
collected 1 items

===============================================================================
*1 tests deselected by "-m 'nondestructive'" *
===============================================================================
======================================================================================
1 deselected in 0.01 seconds ==============




Thanks in advance!
Sahil


More information about the Tutor mailing list