Skip to content

Commit 8ac2e38

Browse files
committed
fix unit tests, update example readme
1 parent 8c38bd6 commit 8ac2e38

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
python-fedex Examples
22
=====================
3+
34
This directory contains a number of examples of how to use python-fedex. For
45
these examples to work, you must open example_config.py and enter your
56
testing account credentials there.
7+
8+
To run all tests from bash, type:
9+
10+
for f in *.py; do python "$f"; done
11+
# Or use the below to only see response errors:
12+
for f in *.py; do python "$f"; done | grep -i error

tests/test_location_service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
from fedex.services.location_service import FedexSearchLocationRequest
1111

1212
# Common global config object for testing.
13-
from common import get_test_config
13+
from common import get_fedex_config
1414

15-
CONFIG_OBJ = get_test_config()
15+
CONFIG_OBJ = get_fedex_config()
1616

1717

1818
@unittest.skipIf(not CONFIG_OBJ.account_number, "No credentials provided.")

0 commit comments

Comments
 (0)