A bug fix for the cylc-submit tests.
Merge pull request #1210 from hjoliver/tests.bug-fix

A bug fix for the cylc-submit tests.