diff options
Diffstat (limited to 'test_utils/managers/network/conftest.py')
| -rw-r--r-- | test_utils/managers/network/conftest.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test_utils/managers/network/conftest.py b/test_utils/managers/network/conftest.py index 979dd63..c699c93 100644 --- a/test_utils/managers/network/conftest.py +++ b/test_utils/managers/network/conftest.py @@ -43,7 +43,7 @@ def toolrun_manager(thl_web_rw) -> ToolRunManager: @pytest.fixture(scope="session") def nmap_raw_output(request) -> str: fp = os.path.join(request.config.rootpath, "data/nmaprun1.xml") - with open(fp, "r") as f: + with open(fp) as f: data = f.read() return data @@ -107,7 +107,7 @@ def rdns_run(rdns_result, scan_group_id): @pytest.fixture(scope="session") def mtr_raw_output(request): fp = os.path.join(request.config.rootpath, "data/mtr_fatbeam.json") - with open(fp, "r") as f: + with open(fp) as f: data = f.read() return data |
