From 448aa402c4d29d89268c46788db0850833562bdc Mon Sep 17 00:00:00 2001 From: L1ghtn1ng Date: Sun, 22 Aug 2021 04:22:01 +0100 Subject: [PATCH] debug info to see what github actions is doing --- tests/discovery/test_omnisint.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/discovery/test_omnisint.py b/tests/discovery/test_omnisint.py index 77723494..09da99c8 100644 --- a/tests/discovery/test_omnisint.py +++ b/tests/discovery/test_omnisint.py @@ -1,22 +1,21 @@ #!/usr/bin/env python3 # coding=utf-8 -import os - from theHarvester.lib.core import * from theHarvester.discovery import omnisint +import os import requests import pytest pytestmark = pytest.mark.asyncio github_ci = os.getenv('GITHUB_ACTIONS') - +print(github_ci) class TestOmnisint(object): @staticmethod def domain() -> str: return 'uber.com' - @pytest.mark.skipif(github_ci == 'True', reason='Skipping on Github CI due unstable status code from site') + @pytest.mark.skipif(github_ci == 'True', reason='Skipping on Github CI due to unstable status code from site') async def test_api(self): base_url = f'https://sonar.omnisint.io/all/{TestOmnisint.domain()}' headers = {'User-Agent': Core.get_user_agent()}