def test_message_interpolates_args(self):
        message = "str: %s, int: %d, float %f"
        arguments = ('bla', 12, 3.14)
        buf = io.StringIO()
        with stdout_redirector(buf):
            self.printer(message, *arguments)

        # We will get the assertion later (by dependency injection)
        self.assertRegexpMatches(  # pylint: disable=no-member
            buf.getvalue(), r'.*%s.*' % (message % arguments))
Lists all nspawn containers
dataset/ETHPy150Open duerrp/pyexperiment/tests/test_printers.py/PrinterTest.test_message_interpolates_args--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/nspawn.py/list_all