def test_just_env(self):
        with settings(use_ssh_config=False):
            with settings(key_filename="mykey"):
                eq_(key_filenames(), ["mykey"])
            with settings(key_filename=["foo", "bar"]):
                eq_(key_filenames(), ["foo", "bar"])
Valid env.key_filename and no ssh_config = just env
dataset/ETHPy150Open fabric/fabric/tests/test_network.py/TestKeyFilenames.test_just_env