def test_command_copy_success(self, t, read_tftp):
        enable(t)

        t.write("copy tftp://1.2.3.4/my-file system:/running-config")
        t.read("Destination filename [running-config]? ")
        t.write_raw("\r")
        t.wait_for("\r\n")
        t.readln("Accessing tftp://1.2.3.4/my-file...")
        t.readln("Done (or some official message...)")
        t.read("my_switch#")

        read_tftp.assert_called_with("1.2.3.4", "my-file")