From 2680b7d1925b4317715dcc89b2af4aec1646d8cb Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Tue, 7 May 2013 11:00:53 +0300 Subject: Some invoice-related fixes --- test_bulk_returns.py | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 test_bulk_returns.py (limited to 'test_bulk_returns.py') diff --git a/test_bulk_returns.py b/test_bulk_returns.py deleted file mode 100644 index 8e4a494..0000000 --- a/test_bulk_returns.py +++ /dev/null @@ -1,20 +0,0 @@ -import json -import gsxws -import logging - -logging.basicConfig(level=logging.INFO) -logging.getLogger('suds.client').setLevel(logging.DEBUG) - -sold_to = '' -gsxws.connect(user_id='', password='', sold_to=sold_to, environment='ut') - -rep = gsxws.Repair(dispatchId='') -#rep.update_sn({'partNumber':'661-5465', 'serialNumber': 'VM020ZLD5RU', 'oldSerialNumber': 'W80320QAAGZ'}) -rep.mark_complete() -df = open('/Users/filipp/Projects/py-gsxws/tests/parts_register_return.json') -data = json.loads(df.read()) -data['shipToCode'] = sold_to - -print data -ret = gsxws.Returns(**data) -print ret.register_parts() -- cgit v1.2.3