JSON schemas: removed __main__ part
This commit is contained in:
parent
73669b0f33
commit
e8de2e66e8
|
@ -17,8 +17,6 @@
|
|||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import json
|
||||
|
||||
|
||||
# TODO add string limits (maxLength)
|
||||
|
||||
|
@ -397,15 +395,3 @@ JSON_SCHEMA_GET_COURRIER_OUT = {
|
|||
},
|
||||
"required": ["courrier"]
|
||||
}
|
||||
|
||||
if __name__ == '__main__':
|
||||
fmt = '\n----- %s -----\n%s\n'
|
||||
print(fmt % ('JSON_SCHEMA_CHECK_STATUS_OUT' , json.dumps(JSON_SCHEMA_CHECK_STATUS_OUT)))
|
||||
print(fmt % ('JSON_SCHEMA_CREATE_DOSSIER_IN' , json.dumps(JSON_SCHEMA_CREATE_DOSSIER_IN)))
|
||||
print(fmt % ('JSON_SCHEMA_CREATE_DOSSIER_OUT' , json.dumps(JSON_SCHEMA_CREATE_DOSSIER_OUT)))
|
||||
print(fmt % ('JSON_SCHEMA_GET_DOSSIER_OUT' , json.dumps(JSON_SCHEMA_GET_DOSSIER_OUT)))
|
||||
print(fmt % ('JSON_SCHEMA_GET_FWD_FILES_OUT' , json.dumps(JSON_SCHEMA_GET_FWD_FILES_OUT)))
|
||||
print(fmt % ('JSON_SCHEMA_GET_FWD_FILES_STATUS_OUT',
|
||||
json.dumps(JSON_SCHEMA_GET_FWD_FILES_STATUS_OUT)))
|
||||
print(fmt % ('JSON_SCHEMA_GET_COURRIER_OUT' , json.dumps(JSON_SCHEMA_GET_COURRIER_OUT)))
|
||||
|
||||
|
|
Reference in New Issue