Skip to content

Commit 0bc25d8

Browse files
authored
Merge pull request #222 from dimagi/gh/change-testrunner
Use unittest to run tests
2 parents e19a8d1 + 2268649 commit 0bc25d8

File tree

8 files changed

+3
-123
lines changed

8 files changed

+3
-123
lines changed

.github/workflows/tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ jobs:
2626
- name: Install dependencies
2727
run: |
2828
python -m pip install --upgrade pip
29-
python -m pip install "setuptools<72"
29+
python -m pip install setuptools
3030
python -m pip install -e .
3131
- name: Run tests
3232
run: |
33-
python setup.py test
33+
python -m unittest
3434
- name: Test cython files
3535
run: |
3636
scripts/install_cython.sh

LIFECYCLE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
You must rebuild C files for the tests to pick up your changes. Try this for iterating:
44

55
```
6-
$ python setup.py build_ext --inplace && python setup.py test
6+
$ python setup.py build_ext --inplace && python -m unittest
77
```
88

99
# Maintaining built C files

couchdbkit_shim/__init__.py

-25
This file was deleted.

couchdbkit_shim/requirements.txt

-1
This file was deleted.

sample_generator.py

-75
This file was deleted.

setup.py

-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
setup_requires=CYTHON_REQUIRES,
5151
install_requires=['six'],
5252
ext_modules=extensions,
53-
test_suite='test',
5453
classifiers=(
5554
'Programming Language :: Python',
5655
'Programming Language :: Python :: 3',

testcouchdbkit.py

-11
This file was deleted.

tox.ini

-7
This file was deleted.

0 commit comments

Comments
 (0)