def test_DuplicateKernel(): with pytest.raises(RuntimeError): obj = ReplacementKernels(replacementDir('duplicate_kernel'), 'V3') obj.get("asdf")
def test_BadFile(): with pytest.raises(RuntimeError): obj = ReplacementKernels(replacementDir('bad_file'), 'V3') obj.get("asdf")