%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/lib/python3/dist-packages/nose2/tests/functional/
Upload File :
Create Path :
Current File : //usr/lib/python3/dist-packages/nose2/tests/functional/test_collect_plugin.py

import re

from nose2.tests._common import FunctionalTestCase


class CollectOnlyFunctionalTest(FunctionalTestCase):

    def test_collect_tests_in_package(self):
        self.assertTestRunOutputMatches(
            self.runIn('scenario/tests_in_package', '-v', '--collect-only',
                       '--plugin=nose2.plugins.collect'),
            stderr=EXPECT_LAYOUT1)


# expectations
EXPECT_LAYOUT1 = re.compile("""\
Ran 25 tests in \d.\d+s

OK""")

Zerion Mini Shell 1.0