This file contains hidden or 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
# Real implimentations: | |
# ===================== | |
# | |
# This isn't really testing anything but the point is, rather than | |
# reading the module to use from config and fixing the module for | |
# all tests here we inject the module in the function call and supply | |
# a default for normal operation. This is akin to dependency injection | |
# in OO. Not sure if this is a good idea but seems more flexible as | |
# different tests can pass in a different fake (if needed). |
OlderNewer