File tree 1 file changed +13
-11
lines changed
1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change 1
1
# sdk-python [ ![ Build Status] ( https://magnum.travis-ci.com/egodolja/sdk-python.svg?token=9z5hnp59uHpbBpKa445s&branch=master )] ( https://magnum.travis-ci.com/egodolja/sdk-python )
2
2
Python SDK for the Authorize.Net API
3
3
4
- Python - demo version commit
5
- 06/25/2015
6
-
7
4
Installations
8
5
--------------------------------------
9
6
- python 2.7
7
+ - Editor of your choice (I used PyDev for Eclipse)
10
8
- pyxb 1.2.4
11
9
* install python before pyxb
12
10
11
+ Run the following to get pyxb and nosetests:
12
+ - pip install pyxb
13
+ - pip install nosetests
13
14
14
15
Generating classes from xsd
15
16
--------------------------------------
16
- - run generateObjectsFromXSD.bat script
17
-
17
+ - use the pyxbgen script from PyXB
18
+ - run the following:
19
+ python [ path to pyxbgen] -u [ link to xsd schema] -m [ name of module to contain the classes]
20
+ - refer to generateObjectsFromXSD.bat in the scripts folder to see how it's used
18
21
19
- Testing Controllers
22
+ Testing
20
23
--------------------------------------
21
- - each controller has its corresponding test
22
- - results recorded in the log
24
+ - Tests available are: unit tests, mock tests, sample code
25
+ - use nosetests to run all unittests
26
+
27
+
23
28
24
- Testing demoTest
25
- --------------------------------------
26
- - uncomment the commented out helper function in ARBCreateSubscriptionController to run demoTest
You can’t perform that action at this time.
0 commit comments