| Conditions | 3 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | """ |
||
| 28 | def construct_command(pargs): |
||
| 29 | mayapy = mayaloc.mayapy(pargs.maya) |
||
| 30 | if not os.path.isfile(mayapy): |
||
| 31 | raise RuntimeError( |
||
| 32 | 'Maya {0} is not installed on the system'.format(pargs.maya)) |
||
| 33 | |||
| 34 | cmd = [mayapy, runner.__file__] |
||
| 35 | cmd.append(None if pytest is None else pytest.__file__) |
||
| 36 | cmd.append(pargs.pytest) |
||
| 37 | return cmd |
||
| 38 | |||
| 51 |