MCPcopy Create free account
hub / github.com/apache/qpid-proton / test_helloworld

Method test_helloworld

python/examples/test_examples.py:56–59  ·  view source on GitHub ↗
(self, example="helloworld.py")

Source from the content-addressed store, hash-verified

54
55class ExamplesTest(unittest.TestCase):
56 def test_helloworld(self, example="helloworld.py"):
57 with run([example]) as p:
58 output = [line.strip() for line in p.stdout]
59 self.assertEqual(output, ['Hello World!'])
60
61 def test_helloworld_direct(self):
62 self.test_helloworld('helloworld_direct.py')

Calls 2

assertEqualMethod · 0.80
runFunction · 0.70

Tested by

no test coverage detected