Skip to content

Commit f776e5f

Browse files
Merge pull request #101 from square/release/24.0.0.20221116
Generated PR for Release: 24.0.0.20221116
2 parents f195bc5 + 48fc19f commit f776e5f

File tree

134 files changed

+4485
-318
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

134 files changed

+4485
-318
lines changed

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
python -m pip install --upgrade pip
3232
pip install -r requirements.txt
3333
pip install -r test-requirements.txt
34-
- name: Test with nose
34+
- name: Test with pytest
3535
run: |
3636
pytest
3737

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ cd square-python-sdk
4545
Next, install dependencies.
4646

4747
```sh
48-
pip install -r test-requirements.txt
48+
python3 -m pip install .
4949
```
5050

5151
Before running the tests, find a sandbox token in your [Developer Dashboard] and set a `SQUARE_SANDBOX_TOKEN` environment variable.
@@ -54,10 +54,16 @@ Before running the tests, find a sandbox token in your [Developer Dashboard] and
5454
export SQUARE_SANDBOX_TOKEN="YOUR SANDBOX TOKEN HERE"
5555
```
5656

57-
And run the tests.
57+
Ensure you have `pytest` installed:
58+
59+
```
60+
python3 -m pip install pytest
61+
```
62+
63+
And lastly, run the tests.
5864

5965
```sh
60-
nosetests tests
66+
pytest
6167
```
6268

6369
## SDK Reference

0 commit comments

Comments
 (0)