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?")
    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.")
示例#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)
示例#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.")
示例#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.")
示例#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")
示例#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?")
示例#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")
示例#16
0
    def test_should_pass_when_calling_info_with_a_simple_string(self):

        muted_logger = MutedLogger()

        muted_logger.info("Hello world.")