Cd command ignored in test section

We run every command in a separate subshell, so cd command, if specified separately, does not have any effect on the next commands. You could either chain cd and the following command:

- cd litecoin_scrypt && sudo python install

or use the pwd modifier:

- sudo python install: # note the colon here
    pwd: litecoin_scrypt