def get_command_line_args(self): assert self.DJANGO_FOLDER is not None free_port = get_free_port() self.django_port = free_port return [ debugger_unittest._get_debugger_test_file( os.path.join(self.DJANGO_FOLDER, 'manage.py')), 'runserver', '--noreload', str(free_port), ]
def get_command_line_args(self): assert self.FLASK_FOLDER is not None free_port = get_free_port() self.flask_port = free_port return [ 'flask', 'run', '--no-debugger', '--no-reload', '--with-threads', '--port', str(free_port), ]