~crunch.io/ubuntu/precise/codespeak-lib/unstable

« back to all changes in this revision

Viewing changes to testing/plugin/test_pytest_unittest.py

  • Committer: Bazaar Package Importer
  • Author(s): Chris Lamb
  • Date: 2010-08-01 16:24:01 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20100801162401-g37v49d1p148alpm
Tags: 1.3.3-1
* New upstream release.
* Bump Standards-Version to 3.9.1.
* Fix typo in py.test manpage.
* Prefer Breaks: over Conflicts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
    """)
13
13
    reprec = testdir.inline_run(testpath)
14
14
    assert reprec.matchreport("testpassing").passed
15
 
    assert reprec.matchreport("test_failing").failed 
 
15
    assert reprec.matchreport("test_failing").failed
16
16
 
17
17
def test_isclasscheck_issue53(testdir):
18
18
    testpath = testdir.makepyfile("""
53
53
def test_teardown(testdir):
54
54
    testpath = testdir.makepyfile("""
55
55
        import unittest
56
 
        pytest_plugins = "pytest_unittest" # XXX 
 
56
        pytest_plugins = "pytest_unittest" # XXX
57
57
        class MyTestCase(unittest.TestCase):
58
58
            l = []
59
59
            def test_one(self):