def test_should_pass_when_calling_debug_with_a_pattern_and_some_arguments(
            self):

        muted_logger = MutedLogger()

        muted_logger.debug("Debugging %d and %s.", 12, "abc")
    def test_should_pass_when_calling_warn_with_a_pattern_and_some_arguments(
            self):

        muted_logger = MutedLogger()

        muted_logger.warn("Warning you about %s and %d", "abc", 12)
    def test_should_pass_when_calling_debug_with_a_simple_string(self):

        muted_logger = MutedLogger()

        muted_logger.debug("Hello I am debugging you.")
    def test_should_pass_when_calling_error_with_a_pattern_and_some_arguments(
            self):

        muted_logger = MutedLogger()

        muted_logger.error("You did it %d times and I think %s.", 12, "abc")
    def test_should_pass_when_calling_warn_with_a_simple_string(self):

        muted_logger = MutedLogger()

        muted_logger.warn("Hello I am warning you.")
    def test_should_pass_when_calling_info_with_a_pattern_and_some_arguments(
            self):

        muted_logger = MutedLogger()

        muted_logger.info("Hello world.", 12, "abc")
    def test_should_pass_when_calling_error_with_a_simple_string(self):

        muted_logger = MutedLogger()

        muted_logger.error("Why did you do this?")
Exemplo n.º 8
0
    def test_should_pass_when_calling_debug_with_a_pattern_and_some_arguments(self):

        muted_logger = MutedLogger()

        muted_logger.debug("Debugging %d and %s.", 12, "abc")
    def test_should_pass_when_calling_info_with_a_simple_string(self):

        muted_logger = MutedLogger()

        muted_logger.info("Hello world.")
Exemplo n.º 10
0
    def test_should_pass_when_calling_warn_with_a_pattern_and_some_arguments(self):

        muted_logger = MutedLogger()

        muted_logger.warn("Warning you about %s and %d", "abc", 12)
Exemplo n.º 11
0
    def test_should_pass_when_calling_debug_with_a_simple_string(self):

        muted_logger = MutedLogger()

        muted_logger.debug("Hello I am debugging you.")
Exemplo n.º 12
0
    def test_should_pass_when_calling_warn_with_a_simple_string(self):

        muted_logger = MutedLogger()

        muted_logger.warn("Hello I am warning you.")
Exemplo n.º 13
0
    def test_should_pass_when_calling_error_with_a_pattern_and_some_arguments(self):

        muted_logger = MutedLogger()

        muted_logger.error("You did it %d times and I think %s.", 12, "abc")
Exemplo n.º 14
0
    def test_should_pass_when_calling_error_with_a_simple_string(self):

        muted_logger = MutedLogger()

        muted_logger.error("Why did you do this?")
Exemplo n.º 15
0
    def test_should_pass_when_calling_info_with_a_pattern_and_some_arguments(self):

        muted_logger = MutedLogger()

        muted_logger.info("Hello world.", 12, "abc")
Exemplo n.º 16
0
    def test_should_pass_when_calling_info_with_a_simple_string(self):

        muted_logger = MutedLogger()

        muted_logger.info("Hello world.")