Skip to content

Commit

Permalink
Merge pull request #88 from da4089/master
Browse files Browse the repository at this point in the history
Replace unittest with pytest
  • Loading branch information
da4089 authored Dec 19, 2024
2 parents 72ad96c + ed6d9d8 commit 38defb3
Show file tree
Hide file tree
Showing 26 changed files with 29,357 additions and 1,299 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install Requirements
run: |
python -m pip install --upgrade flit pip wheel
python -m pip install --upgrade flit pip wheel pytest
pip install -e .['dev']
- name: Run Tests
run: |
python tests.py
pytest
9 changes: 9 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,12 @@ extend-ignore = ["E203", "E701"]

[tool.pylint.format]
max-line-length = "88"

[tool.tox]
requires = ["tox>=4.19"]
env_list = ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]

[tool.tox.env_run_base]
description = "Run test under {base_python}"
deps = ["pytest"]
commands = [["pytest"]]
10 changes: 0 additions & 10 deletions test_files/badline.ics

This file was deleted.

16 changes: 0 additions & 16 deletions test_files/badstream.ics

This file was deleted.

15 changes: 0 additions & 15 deletions test_files/journal.ics

This file was deleted.

10 changes: 0 additions & 10 deletions test_files/quoted-printable.ics

This file was deleted.

9 changes: 0 additions & 9 deletions test_files/recurrence-offset-naive.ics

This file was deleted.

9 changes: 0 additions & 9 deletions test_files/recurrence-without-tz.ics

This file was deleted.

30 changes: 0 additions & 30 deletions test_files/recurrence.ics

This file was deleted.

5 changes: 0 additions & 5 deletions test_files/silly_test.ics

This file was deleted.

12 changes: 0 additions & 12 deletions test_files/simple_2_0_test.ics

This file was deleted.

13 changes: 0 additions & 13 deletions test_files/simple_3_0_test.ics

This file was deleted.

41 changes: 0 additions & 41 deletions test_files/standard_test.ics

This file was deleted.

39 changes: 0 additions & 39 deletions test_files/utf8_test.ics

This file was deleted.

18 changes: 0 additions & 18 deletions test_files/vcard_with_groups.ics

This file was deleted.

Loading

0 comments on commit 38defb3

Please sign in to comment.