Created
August 22, 2016 06:34
-
-
Save imarban/18066c504f6146a3daef48294130c79c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class PrintReporterTest: | |
def print_now_mock: | |
print report.content | |
@classmethod | |
def setup_class(cls): | |
self.printer = WirelessPrinter("0.0.0.0") | |
self.printer.print_now = print_now_mock | |
def test_print(): | |
self.printer.print_now() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment