Did I find the right examples for you? yes no

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/t/x/txpkgme-0.3/txpkgme/tests/test_scoreboard.py   txpkgme(Download)
    def test_building_package_doesnt_send(self):
        stream = StringIO()
        reporter = BufferedReporter(SubunitReporter(stream))
        reporter.building_package(make_app(self))
        self.assertEqual('', stream.getvalue())
        reporter = BufferedReporter(SubunitReporter(stream))
        a = reporter.timestamp()
        reporter.building_package(app)
        b = reporter.timestamp()
        reporter.pkgme_success(app, {})
        reporter = BufferedReporter(SubunitReporter(stream))
        a = reporter.timestamp()
        reporter.building_package(app)
        b = reporter.timestamp()
        reporter.pkgme_failure(app, make_error({}))
        reporter = BufferedReporter(SubunitReporter(stream))
        a = reporter.timestamp()
        reporter.building_package(app)
        b = reporter.timestamp()
        reporter.unexpected_error(app, make_failure())
        reporter = BufferedReporter(SubunitReporter(stream))
        a = reporter.timestamp()
        reporter.building_package(app1)
        b = reporter.timestamp()
        reporter.building_package(app2)