Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

[#956] Set framework id to test if command = 'autotest' #282

Merged
merged 1 commit into from

2 participants

@revbingo

framework/pym/play/commands/base.py treats "auto-test" and "autotest" as synonyms, but the main play script only sets framework ID as "test" for "auto-test". Quick fix to do the same for "autotest"

@pepite pepite merged commit d708ac0 into from
@pepite
Owner

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  play
View
2  play
@@ -101,7 +101,7 @@ try:
if remaining_args.count('--%%%s' % play_env["id"]) == 1:
remaining_args.remove('--%%%s' % play_env["id"])
- if play_command == 'test' or play_command == 'auto-test':
+ if play_command in ['test', 'auto-test', 'autotest'] :
# If framework-id is not a valid test-id, force it to 'test'
if not isTestFrameworkId( play_env["id"] ):
play_env["id"] = 'test'
Something went wrong with that request. Please try again.