'Returns the command that is expected to be run for the given test spec
and store.'

def _expected_command(self, name, store=None, verify_xss=True):

    shard_str = (('/shard_' + self.shard) if self.shard else '')
    expected_statement = ['DEFAULT_STORE={}'.format(store), "SCREENSHOT_DIR='{}/test_root/log{}'".format(REPO_DIR, shard_str), "BOK_CHOY_HAR_DIR='{}/test_root/log{}/hars'".format(REPO_DIR, shard_str), "BOKCHOY_A11Y_CUSTOM_RULES_FILE='{}/{}'".format(REPO_DIR, 'node_modules/edx-custom-a11y-rules/lib/custom_a11y_rules.js'), "SELENIUM_DRIVER_LOG_DIR='{}/test_root/log{}'".format(REPO_DIR, shard_str), "VERIFY_XSS='{}'".format(verify_xss), 'nosetests', '{}/common/test/acceptance/{}'.format(REPO_DIR, name), '--xunit-file={}/reports/bok_choy{}/xunit.xml'.format(REPO_DIR, shard_str), '--verbosity=2']
    return expected_statement
