From d9b65c6a6f960d05b33065950305b5341d5ac6c3 Mon Sep 17 00:00:00 2001 From: Daniel Date: Wed, 13 Dec 2023 00:43:11 +0100 Subject: [PATCH] cleanup --- tests/test_coordinator.py | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/tests/test_coordinator.py b/tests/test_coordinator.py index ac44900..3c00ed6 100644 --- a/tests/test_coordinator.py +++ b/tests/test_coordinator.py @@ -1,7 +1,5 @@ import os import shutil -import sys -from collections import UserList from pathlib import Path import pytest @@ -43,20 +41,3 @@ def test_runner_runner_dict_import(tmp_recipes: Path): RUNNER_DICT = Coordinator.create_runner_dict(tmp_recipes) assert len(RUNNER_DICT.keys()) > 0 - - -# def test_runner_runner_dict_import_patched(tmp_recipes: Path, monkeypatch): -# """import from recipes dict should fail without sys.path.append""" - -# class MockPath(UserList): -# def append(self, item): -# pass - -# monkeypatch.setattr(sys, "path", MockPath()) - -# with pytest.raises(ModuleNotFoundError): -# Coordinator.create_runner_dict(tmp_recipes) - - -# def test_something(): -# import authentik