Exemplo n.º 1
0
    def test_add_components(self):
        passing_noop = Noop
        manifest = Manifest(None, None)
        manifest.add_components([passing_noop, NoopFailing])

        self.assertEqual(1, len(manifest.components))
        self.assertIsInstance(manifest.components[0], Noop)