mirror of
https://github.com/laramies/theHarvester.git
synced 2026-09-06 09:47:40 +02:00
Merge pull request #2220
* support python 3.14 * fix syntax warnings * bump dockerfile to 3.14, optimize build time + size
This commit is contained in:
@@ -90,7 +90,7 @@ class TestSearchGithubCode:
|
||||
Core.github_key = MagicMock(return_value="test_key") # type: ignore[method-assign]
|
||||
test_class_instance = githubcode.SearchGithubCode(word="test", limit=500)
|
||||
test_result = githubcode.SuccessResult(list(), 0, 0)
|
||||
assert await test_class_instance.next_page_or_end(test_result) is 0
|
||||
assert await test_class_instance.next_page_or_end(test_result) == 0
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_infinite_loop_fix_page_zero(self):
|
||||
|
||||
Reference in New Issue
Block a user