@pytest.mark.asyncio
@mock.patch(
"leetcode_anki.helpers.leetcode.LeetcodeData._get_problems_data",
mock.Mock(return_value=[QUESTION_DETAIL]),
)
async def test_tags(self) -> None:
self._leetcode_data._cache["test"] = QUESTION_DETAIL
> assert (await self._leetcode_data.tags("test")) == ["test-tag"]
E AssertionError: assert ['test-tag', 'Hard'] == ['test-tag']
E Left contains one more item: 'Hard'
E Use -v to get more diff
test/helpers/test_leetcode.py:248: AssertionError
This is due to logic change