2014-12-01 21:46:34 +01:00
|
|
|
# Copyright (c) 2012 Ecma International. All rights reserved.
|
2015-07-17 17:42:45 +02:00
|
|
|
# This code is governed by the BSD license found in the LICENSE file.
|
2012-02-29 23:23:47 +01:00
|
|
|
|
2011-09-24 20:47:48 +02:00
|
|
|
#--Imports---------------------------------------------------------------------
|
2014-07-19 00:22:37 +02:00
|
|
|
import parseTestRecord
|
2011-09-24 20:47:48 +02:00
|
|
|
|
|
|
|
#--Stubs-----------------------------------------------------------------------
|
|
|
|
|
|
|
|
#--Globals---------------------------------------------------------------------
|
|
|
|
|
|
|
|
#--Helpers--------------------------------------------------------------------#
|
2011-09-25 01:35:45 +02:00
|
|
|
|
|
|
|
def convertDocString(docString):
|
2014-07-19 00:22:37 +02:00
|
|
|
envelope = parseTestRecord.parseTestRecord(docString, '')
|
|
|
|
envelope.pop('header', None)
|
|
|
|
envelope.pop('test', None)
|
2014-12-01 21:46:34 +01:00
|
|
|
|
2011-09-25 01:35:45 +02:00
|
|
|
return envelope
|