Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use unittest to run tests #222

Merged
merged 10 commits into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install "setuptools<72"
python -m pip install setuptools
python -m pip install -e .
- name: Run tests
run: |
python setup.py test
python -m unittest
- name: Test cython files
run: |
scripts/install_cython.sh
Expand Down
2 changes: 1 addition & 1 deletion LIFECYCLE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
You must rebuild C files for the tests to pick up your changes. Try this for iterating:

```
$ python setup.py build_ext --inplace && python setup.py test
$ python setup.py build_ext --inplace && python -m unittest
```

# Maintaining built C files
Expand Down
25 changes: 0 additions & 25 deletions couchdbkit_shim/__init__.py

This file was deleted.

1 change: 0 additions & 1 deletion couchdbkit_shim/requirements.txt

This file was deleted.

75 changes: 0 additions & 75 deletions sample_generator.py

This file was deleted.

1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
setup_requires=CYTHON_REQUIRES,
install_requires=['six'],
ext_modules=extensions,
test_suite='test',
classifiers=(
'Programming Language :: Python',
'Programming Language :: Python :: 3',
Expand Down
11 changes: 0 additions & 11 deletions testcouchdbkit.py

This file was deleted.

7 changes: 0 additions & 7 deletions tox.ini

This file was deleted.

Loading