ynput / ayon-kitsu

Official AYON<->Kitsu intetgration (WIP)
Apache License 2.0
7 stars 4 forks source link

Enhancement/unit tests #21

Closed scottmcdonnell closed 5 months ago

scottmcdonnell commented 5 months ago

Tests with mock Kitsu data for existing endpoints:

Tests for:

tests can be added for new functions needed in push.py to handle the kitsu listener payloads.

martastain commented 5 months ago

Do you think you could change the structure, so tests would be separated from the rest of the package? Like:

.
├── client
├── create_package.py
├── LICENSE
├── README.md
├── server
├── services
├── tests
│   ├── common
│   │   ├── __init__.py
│   │   └── utils.py
│   ├── pyproject.toml
│   ├── pytest.ini
│   └── tests
│       ├── fixtures.py
│       ├── __init__.py
│       ├── mock_data.py
│       ├── test_fullsync.py
│       ├── test_pairing.py
│       ├── test_push_create.py
│       ├── test_push_update.py
│       └── test_utils.py
└── version.py
scottmcdonnell commented 5 months ago

superseded by #31