(self, command)
| 419 | command['as'], command.get('name', self._ModuleIdxName()))) |
| 420 | |
| 421 | def _WriteAssertModuleCommand(self, command): |
| 422 | # Don't bother writing out text modules; they can't be parsed by JS. |
| 423 | if command['module_type'] == 'binary': |
| 424 | self.out_file.write('%s("%s");\n' % (command['type'], |
| 425 | self._Module(command['filename']))) |
| 426 | |
| 427 | def _WriteAssertReturnCommand(self, command): |
| 428 | expected = command['expected'] |