()
| 101 | |
| 102 | |
| 103 | def test_GetFunctionTestMixin_class(): |
| 104 | class TestCustomGetFail(GetFunctionTestMixin): |
| 105 | get = staticmethod(lambda x, y: 1) |
| 106 | |
| 107 | custom_testget = TestCustomGetFail() |
| 108 | pytest.raises(AssertionError, custom_testget.test_get) |
| 109 | |
| 110 | class TestCustomGetPass(GetFunctionTestMixin): |
| 111 | get = staticmethod(get) |
| 112 | |
| 113 | custom_testget = TestCustomGetPass() |
| 114 | custom_testget.test_get() |
| 115 | |
| 116 | |
| 117 | def test_get_dependencies_nested(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…