Skip to content

Tests are failing #364

@HomiGrotas

Description

@HomiGrotas

I want to start contributing to this project but when I run tests some of them are failing, and some get errors.
Using version 0.19.0 with python3.10 and python2.7

When running tests on version 0.19.0 I get multiple failed tests:

  1. ERROR: test_clear_checklist (test.test_checklist.TrelloChecklistTestCase) /py-trello/trello/checklist.py", line 62, in clear old_items = items[:] NameError: name 'items' is not defined

  2. ERROR: test_delete_checklist_item (test.test_checklist.TrelloChecklistTestCase) py-trello/test/test_checklist.py", line 94, in test_delete_checklist_item self.assertEqual(len(checklists[0].items), 1) IndexError: list index out of range

  3. ERROR: test_add_delete_star (test.test_trello_client.TrelloClientTestCase) trello.exceptions.Unauthorized: unauthorized member permission requested. at https://api.trello.com/1/members/me/boardStars (HTTP status: 401)

  4. FAIL: test_checklist_rename (test.test_checklist.TrelloChecklistTestCase) /py-trello/test/test_checklist.py", line 82, in test_checklist_rename self.assertEqual(len(card.checklists), 1) AssertionError: 0 != 1

  5. FAIL: test_delete_checklist_remaining (test.test_checklist.TrelloChecklistTestCase) py-trello/test/test_checklist.py", line 68, in test_delete_checklist_remaining self.assertEqual(len(card.checklists), 1) AssertionError: 0 != 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions