Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot skip tests #104

Open
timurb opened this issue Nov 9, 2013 · 0 comments
Open

cannot skip tests #104

timurb opened this issue Nov 9, 2013 · 0 comments

Comments

@timurb
Copy link

timurb commented Nov 9, 2013

If I try to skip some tests via unittest.skip decorator the test suite fails instead of marking it as skipped:

  @unittest.skip("Not implemented")
  def test_login(self):
    """Check if the server permits logins."""
    pass
$  fl-run-test test_geogrep.py MyTest.test_login                                                                     F
======================================================================
FAIL: test_login (test_geogrep.Geogrep)
Check if the server permits logins.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/funkload/FunkLoadTestCase.py", line 946, in __call__
    testMethod()
  File "/usr/lib/python2.7/unittest/case.py", line 62, in skip_wrapper
    raise SkipTest(reason)
SkipTest: Not implemented

----------------------------------------------------------------------
Ran 1 test in 0.001s

FAILED (failures=1)

(the same output if I don't specify the test to run)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant