(callback)
| 213 | } |
| 214 | } |
| 215 | function runSingleErrorScript(callback) { |
| 216 | PythonShell.run('error.py', null).catch((err) => { |
| 217 | err.should.be.an.Error; |
| 218 | err.exitCode.should.be.exactly(1); |
| 219 | err.stack.should.containEql('----- Python Traceback -----'); |
| 220 | callback(); |
| 221 | }); |
| 222 | } |
| 223 | }); |
| 224 | |
| 225 | it('should run multiple scripts and return output data for each of them', function (done) { |
no test coverage detected
searching dependent graphs…