Commit fcc3c8fd authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[test][conftest] Handle multiple calls to beat.core teardown

parent dc6d79b8
......@@ -60,4 +60,10 @@ def test_prefix():
# corresponding tear down, therefore trigger it manually
beat_core_test = importlib.import_module("beat.core.test")
teardown_package = getattr(beat_core_test, "teardown_package")
except FileNotFoundError:
# Only needed once because that prefix is generated on call of the
# resource_filename of beat.core.test
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment