def newFile(self, lines):
        self.fakeFile = FakeFile()
        self.fakeFile.inlines = lines
Replace password with 'secret' in message.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/conch/test/test_knownhosts.py/ConsoleUITests.newFile--crossover with--dataset/ETHPy150Open openstack/python-rackclient/rackclient/openstack/common/strutils.py/mask_password